[fpc-devel] stabs on Mac / relocation issue?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Oct 13 10:00:08 CEST 2011


On 13 Oct 2011, at 09:28, Martin wrote:

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

It's not specific to FPC:

Breakpoint 1, 0x00001fdc in main () at tt.c:7
7	}
(gdb) info line 6
Line 6 of "tt.c" starts at address 0x1c and ends at 0x20.


Jonas



More information about the fpc-devel mailing list