[fpc-devel] FPC 64bit and gdb on Linux
Martin Schreiber
fpmse at bluewin.ch
Sun Oct 25 14:07:09 CET 2009
On Saturday 24 October 2009 18:32:32 JoshyFun wrote:
> Hello Martin,
>
> Saturday, October 24, 2009, 10:42:27 AM, you wrote:
>
> MS> What do you recommend, should MSEide parse the gdb watch results and
> run MS> another query in order to get the values of var parameters? How
> does Lazarus MS> solve the problem?
>
> I'm working in the Lazarus GDB interface to perform such operations,
> but currently I'm working in records, classes, enums, etc but not as
> parameters. Currently some types as reevaluated to get the "usable"
> value, like pointers which are dereferenced and both data is
> displayed. Something like:
>
> Variable = ^LONGINT 0x12345678 = 5
So you plan to run a second query to show the parameter value?
BTW MSEide has some code to display dynamic arrays and the like, it is located
in lib/common/designutils/msegdbutils.pas, function
tgdbmi.readpascalvariable() and tgdbmi.matchpascalformat(), maybe you will
find it useful.
Martin
More information about the fpc-devel
mailing list