[fpc-devel] 64bit win dwarf differences between fpc 2.4.2 and trunk

Martin lazarus at mfriebe.de
Wed Dec 8 21:32:47 CET 2010

Vincent did some tests with dwarf on win 64 bit.

with the lates (7.2.5) gdb and trunk results are fine => working.

but with fpc 2.4.2 instead there are strange errors:

> 84. <info  address  FPC_BREAK_ERROR>
> 85. &"info  address  FPC_BREAK_ERROR\n"
> 86.     ~"Symbol  \"FPC_BREAK_ERROR\"  is   at  0x10000f330  in  a  
> file   compiled  without  debugging.\n"
> 87.     ^done
> 88.     (gdb)
> 89. <-break-insert  *4295029552>
> 90.     ^error,msg="Dwarf  Error:  Cannot  find   DIE  at  0x23c8de  
> referenced  from   DIE  at  0xef  [in  module  
> C:/Lazarus/bugs/16252/project1.exe]"
> 91.     (gdb)

As you can see the correct address is returned => but attempting to use 
it to insert a breakpoint (it is the same addr, only decimal) => gets a 
very strange error.

Exactly the same commands do work, if the exe was compiled with fpc trunk

trunk: http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=19080
2.4.2 http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=19079


More information about the fpc-devel mailing list