Hi Martin,

  I happen to have the whole series of official
GDB releases compiled for i386-linux 
from 6.1a up to 7.8.1.
  I found only 7.6, 7.6.1 and 7.6.2 that show your
problem.
  With 7.7, 7.7.1, 7.8 and 7.8.1
I do get 
Type RECTY has no component named C.

Did you try to use 7.7 or later release?

Pierre

> -----Message d'origine-----
> De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-
> boun...@lists.freepascal.org] De la part de Martin Schreiber
> Envoyé : jeudi 18 décembre 2014 14:14
> À : fpc-pascal@lists.freepascal.org
> Objet : Re: [fpc-pascal] Which gdb version to use?
> 
> On Thursday 18 December 2014 13:42:25 Pierre Free Pascal wrote:
> >   Hi Martin,
> >
> > it would be useful to have a
> > simple source code which allows to reproduce your problem,
> > together with a list of the operations that lead to the assertion.
> >
> >   I am afraid that current trunk is not really usable with FP IDE,
> > because there has be a lot of changes in C structs used
> > that might disrupt gdbint.pp code.
> >
> >   But maybe I understood wrong and you are talking about
> > the Lazarus IDE...
> >
> I talk about MSEide. ;-)
> The assertion errors are already fixed in current gdb git master
> version, the
> problem with gdb git master is that it can not print FPC class fields.
> 
> If you like to reproduce the assertion in gdb release versions load the
> program:
> https://gitorious.org/mseuniverse/mseuniverse/source/testcase/gdb/asser
> tioncrash/invalidvar.pas
> 
> in gdb and enter the commands:
> "
>  gdb ./invalidvar
> GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs
> [...]
> (gdb) break main
> Breakpoint 1 at 0x8049b78: file invalidvar.pas, line 17.
> (gdb) run
> Starting program:
> /home/mse/proj/msegui/testcase/mse/gdb/invalidvar/invalidvar
> [...]
> Breakpoint 1, main () at invalidvar.pas:17
> 17       po1:= @r1;
> (gdb) print po1^.c
> ../../gdb/parse.c:592: internal-error: mark_struct_expression:
> Assertion
> `parse_completion && expout_tag_completion_type == TYPE_CODE_UNDEF'
> failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n) y
> ../../gdb/parse.c:592: internal-error: mark_struct_expression:
> Assertion
> `parse_completion && expout_tag_completion_type == TYPE_CODE_UNDEF'
> failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Create a core file of GDB? (y or n) n
> mse@linuxmse:~/proj/msegui/testcase/mse/gdb/invalidvar>
> "
> 
> Martin
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to