[fpc-devel] gdb crashes with trunk
Martin Schreiber
fpmse at bluewin.ch
Fri Apr 4 07:55:50 CEST 2008
On Thursday 03 April 2008 21.33:17 Jonas Maebe wrote:
> On 03 Apr 2008, at 19:12, Martin Schreiber wrote:
> > The compiler crashes with -godwarfsets.
>
> Fixed.
>
It doesn't crash anymore, thanks.
The display of sets seems to be wrong:
"
mse at linux-mse:~/packs/standard/svn/mse/trunk/apps/ide> gdb ./mseidefp
GNU gdb 6.6.50.20070726-cvs
Copyright (C) 2007 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break reader.inc:1260
Breakpoint 1 at 0x80d6c1e: file ../objpas/classes/reader.inc, line 1260.
(gdb) run
Starting program: /home/mse/packs/standard/svn/mse/trunk/apps/ide/mseidefp
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c188d0 (LWP 4821)]
[Switching to Thread 0xb7c188d0 (LWP 4821)]
Breakpoint 1, READROOTCOMPONENT (READROOTCOMPONENT=0xb786a020,
AROOT=0xb786a020, this=0xb785a020) at ../objpas/classes/reader.inc:1260
1260 Result.FComponentState :=
(gdb) print result.fcomponentstate
$1 = []
(gdb) next
1264 i := 0;
(gdb) print result.fcomponentstate
$2 = []
(gdb)
"
"
Result.FComponentState :=
Result.FComponentState + [csLoading, csReading];
{ We need an unique name }
i := 0;
"
Martin
More information about the fpc-devel
mailing list