[fpc-devel] gdb crashes with trunk

Martin Schreiber fpmse at bluewin.ch
Sat Apr 5 10:48:47 CEST 2008


On Saturday 05 April 2008 10.25:45 Martin Schreiber wrote:
> Hurray!
>
Update:
"
GNU gdb 6.8.50.20080306
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) break main.pas:1422
Breakpoint 1 at 0x80a6884: file main.pas, line 1422.
(gdb) run
Starting program: /home/mse/packs/standard/svn/mse/trunk/apps/ide/mseidefp
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c038d0 (LWP 9561)]
[Switching to Thread 0xb7c038d0 (LWP 9561)]

Breakpoint 1, TMAINFO__MAINONLOADED (SENDER=0xb761f870, this=0xb761f870) at 
main.pas:1422
1422      mainstatfile.readstat;
(gdb) bt
#0  TMAINFO__MAINONLOADED (SENDER=0xb761f870, this=0xb761f870) at 
main.pas:1422
#1  0x08188b37 in TCUSTOMMSEFORM__DOEVENTLOOPSTART (this=0xb761f870) at 
mseforms.pas:848
#2  0x08188b83 in TCUSTOMMSEFORM__RECEIVEEVENT (EVENT=0xb7bfabe0, 
this=0xb761f870) at mseforms.pas:857
Segmentation fault
"
:-(
Because of the missing TMAINFO_ it was probably dwarf and not stabs which 
worked before.
Argh, so many different possibilities to make errors...

Martin



More information about the fpc-devel mailing list