[Lazarus] GDB crash when I try to debug
Martin
lazarus at mfriebe.de
Wed Jul 21 00:12:03 CEST 2010
On 20/07/2010 22:20, Tobias Giesen wrote:
> Hello,
>
> I found out the most incredible thing. When I add this stripped-down
> unit to my program, GDB will crash loading it. When I remove the line
> in the initialization section, it works. When I rename the unit, it
> works also. So I can easily work around the problem, but maybe a more
> generic solution should be made in FPC? Should I submit it as an FPC bug?
>
Which Version of GDB do you have ?
It works fine here:
Windows Vista 32bit
Lazaus trunc
fpc 2.5.1 (trunk a few weeks old)
gdb 7.0 or gdb 6.8.3
stabs or dwarf
If it is related to symbols, try the external linker -Xe, try dwarf
instead of stabs (or vice versa).... smart linking or not...
Switch you AntiVirus off for testing => mine is always disliking gdb.
Martin
More information about the Lazarus
mailing list