[fpc-devel] FPC 64bit and gdb on Linux

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Oct 23 22:09:30 CEST 2009


Martin Schreiber wrote on Fri, 23 Oct 2009:

> Why is it not possible to set a breakpoint to "test"?

You have to use TEST. This is the same for Stabs on 32 bit platforms,  
afaik: you always have to use the uppercase name for setting  
breakpoints on procedures/functions.

> 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.


Jonas

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the fpc-devel mailing list