Re: [fpc-devel] Win32 DWARF problem (was: Debugger for FPC)

2009-03-19 Thread Paul Ishenin
Jonas Maebe wrote: I've tested this (by editing the .s file) and gdb still seems to work and doesn't complain anymore. Can you test the attached patch? I tried to send it to Paul, but mail.ru I have tested. No more warnings! But, it uses external linker anyway now :( Maybe after your

Re: [fpc-devel] Win32 DWARF problem (was: Debugger for FPC)

2009-03-19 Thread Paul Ishenin
Jonas Maebe пишет: Marc Weustink wrote on do, 19 mrt 2009: Marc Weustink wrote: If we cannot solve this, in case of DWARF2 i think we can leave those attributes out. I've tested this (by editing the .s file) and gdb still seems to work and doesn't complain anymore. Can you test the

Re: [fpc-devel] Win32 DWARF problem (was: Debugger for FPC)

2009-03-19 Thread Jonas Maebe
Marc Weustink wrote on do, 19 mrt 2009: Marc Weustink wrote: If we cannot solve this, in case of DWARF2 i think we can leave those attributes out. I've tested this (by editing the .s file) and gdb still seems to work and doesn't complain anymore. Can you test the attached patch? I

Re: [fpc-devel] Win32 DWARF problem (was: Debugger for FPC)

2009-03-19 Thread Jonas Maebe
Paul Ishenin wrote on do, 19 mrt 2009: Jonas Maebe wrote: I've tested this (by editing the .s file) and gdb still seems to work and doesn't complain anymore. Can you test the attached patch? I tried to send it to Paul, but mail.ru I have tested. No more warnings! But, it uses external

Re: [fpc-devel] Win32 DWARF problem (was: Debugger for FPC)

2009-03-19 Thread Paul Ishenin
Jonas Maebe wrote: That's extremely unlikely. indeed: C:\1\testD:\programming\mingw\bin\gdb.exe ptest.exe GNU gdb 6.8 ... Dwarf Error: wrong version in compilation unit header (is 0, should be 2) [in module C:\1\test/ptest.exe] Best regards, Paul Ishenin.

Re: [fpc-devel] Win32 DWARF problem (was: Debugger for FPC)

2009-03-19 Thread Marc Weustink
Marc Weustink wrote: If we cannot solve this, in case of DWARF2 i think we can leave those attributes out. I've tested this (by editing the .s file) and gdb still seems to work and doesn't complain anymore. Marc ___ fpc-devel maillist -

[fpc-devel] Win32 DWARF problem (was: Debugger for FPC)

2009-03-18 Thread Jonas Maebe
On 14 Mar 2009, at 15:42, Paul Ishenin wrote: Tomas Hajny wrote: Keeping -gl instead of -gw? Sorry, leave out was not in my head dictionary :) c:\programming\fpc\bin\i386-win32\ppc386.exe -gw test.pp (gdb) break test.pp:8 invalid dwarf2 offset 4243567 In the mean time, we got basic

Re: [fpc-devel] Win32 DWARF problem (was: Debugger for FPC)

2009-03-18 Thread Marc Weustink
Jonas Maebe wrote: On 14 Mar 2009, at 15:42, Paul Ishenin wrote: Tomas Hajny wrote: Keeping -gl instead of -gw? Sorry, leave out was not in my head dictionary :) c:\programming\fpc\bin\i386-win32\ppc386.exe -gw test.pp (gdb) break test.pp:8 invalid dwarf2 offset 4243567 In the mean