[fpc-devel] FPC 64bit and gdb on Linux
Martin Schreiber
fpmse at bluewin.ch
Sat Oct 24 10:42:27 CEST 2009
On Friday 23 October 2009 22:09:30 you wrote:
> Martin Schreiber wrote on Fri, 23 Oct 2009:
>
> > Is it as designed that the displayed value of a var parameter is the
> > address instead the value?
>
> It's because nobody bothered to submit a patch to GDB yet to add
> support for var parameters in their DWARF parser, so we currently
> encode them as C++-style references. That's the way references are
> displayed by GDB.
>
I do not know the different debug formats, is it correct that FPC uses STABS
on x86 and DWARF on x64?
What do you recommend, should MSEide parse the gdb watch results and run
another query in order to get the values of var parameters? How does Lazarus
solve the problem?
Martin
More information about the fpc-devel
mailing list