On 28 Dec 2008, at 17:22, dmitry boyarintsev wrote:

all these command lines did not work
fpc -Xe -gw2 test.pas
fpc -Aas -gw2 test.pas
fpc -Xe -Aas -gw2 test.pas

in all three cases gdb returnes "invalid dwarf2 offset "

Did you try with adding tf_dwarf_relative_addresses to the win32 target flags? The binutils for Linux do not follow the dwarf standard (expecting absolute addresses in some places where the dwarf standard says that you should use relative offsets), but since Linux support was implemented first that's also the default in FPC.

Putting absolute addresses in places where relative offsets are expected certainly will result in invalid offsets.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to