[fpc-devel] gdb crashes with trunk
Jonas Maebe
jonas.maebe at elis.ugent.be
Sat Apr 5 20:56:01 CEST 2008
On 05 Apr 2008, at 14:54, Jonas Maebe wrote:
> On 05 Apr 2008, at 10:25, Martin Schreiber wrote:
>> I tried with gdb 6.8.50:
>> "
>> Breakpoint 1, READROOTCOMPONENT (READROOTCOMPONENT=0xb77a5020,
>> AROOT=0xb77a5020, this=0xb7795020) 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)
>> "
>> BTW the set display is not always wrong.
>
> It works with gdb 6.6, but indeed not with 6.8. I'll try to find the
> cause and file a bug report with gdb if necessary.
I've implemented a workaround in the compiler and submitted a gdb bug
report.
Jonas
More information about the fpc-devel
mailing list