[fpc-devel] win64 dwarf patch

Willibald Krenn Willibald.Krenn at gmx.at
Wed Oct 13 23:52:49 CEST 2010


Am 13.10.2010 21:34, schrieb Willibald Krenn:
> Yes, your output seems to be fine! I'll try upgrading my gdb to a newer
> version - hope this helps. If this is working, then I think we should
> switch to DWARF2 on Win64 and close all related bugs in mantis. ;-)

I upgraded my version of gdb and that fixed the problem. Small 
disadvantage, though: DWARF debug info disables smart linking :-(.

Anyway, while fpc and gdb are working now, Lazarus fails to pick up the 
correct address if it is outside of the 32 bit range:

<info address FPC_RAISEEXCEPTION>
&"info address FPC_RAISEEXCEPTION\n"
~"Symbol \"FPC_RAISEEXCEPTION\" is at 0x100008a30 in a file compiled 
without debugging.\n"
^done
(gdb)
<-break-insert *35376>
^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000008a30",at="",times="0",original-location="*35376"}
(gdb)


Cheers,
  Willi



More information about the fpc-devel mailing list