[Lazarus] GDB crash when I try to debug

Pierre Delore dpliste at free.fr
Wed Jul 21 08:34:51 CEST 2010


Hi, 

I compiled and ran my application in a virtual machine without any problem. So the problem come from my system (win XP SP3). Probably a conflict between gdb and a dll. 
I think it doesn't come directly from gdb because I re-install lazarus (with gdb) 3 days ago. 

Somebody know which dll are used by gdb? 

Regards, 
-- 
Pierre Delore 

http://datalinkwristapps.free.fr 
http://dpsite.free.fr 

----- "Martin" <lazarus at mfriebe.de> a écrit : 
> 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 
> 
> -- 
> _______________________________________________ 
> Lazarus mailing list 
> Lazarus at lists.lazarus.freepascal.org 
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100721/7c69e5e0/attachment-0004.html>


More information about the Lazarus mailing list