[fpc-devel] stabs on Mac / relocation issue?
Martin
lazarus at mfriebe.de
Thu Oct 13 09:28:21 CEST 2011
Is there a known issue on Mac?
The following was observed on 2 different 32 bit Mac:
compiling from lazarus tests/lazutils/testunicode.lpi
with -gs / also entire LCL compiled with -gs / standard fpc 2.4.4
installation (I would assume that does not have dwarf? but I do not know)
info line
"/Users/felipe/Programas/lazarus/test/lazutils/testunicode.pas":182
&"info line
\"/Users/felipe/Programas/lazarus/test/lazutils/testunicode.pas\":182\n"
~"Line 182 of \"testunicode.pas\" starts at address 0xedb and ends at
0xef6.\n"
^done
same address when trying to insert a breakpoint
-break-insert -f testunicode.pas:182
^done,bkpt={number="11",type="breakpoint",disp="keep",enabled="y",addr="0x00000edb",file="testunicode.pas",line="182",shlib="/Users/felipe/Programas/lazarus/test/lazutils/testunicode",times="0"},time={wallclock="0.00016",user="0.00016",system="0.00001",start="1318483988.064643",end="1318483988.064808"}
(gdb)
running, pausing, and using the disassembler on the stackframe
containing that code, shows addresses in the 0x011xxx range.
So it seems the symbols are not relocated?
More information about the fpc-devel
mailing list