problem setting displays

Andrew Cagney ac131313@ges.redhat.com
Thu Sep 12 12:17:00 GMT 2002


> Hi,
> 
> In an attempt to circumvent the problems which I reported with the
> "display" command in gdb, I tried the "print" command, to get the value of
> a variable just once. This did not help. The same errors were reported by
> gdb as when I used the "display" command. Who can help?

That (in a sense) is good news.  It eliminates display from the problem.

I suspect it is a problem in either the fortran (that was fortran right 
:-) parser or the code that handes fortran variable scopes.   The other 
possability is that GDB loaded in additional debug information (gdb does 
this when it first hits a breakpoint for an object file) and that made 
the expression invalid.

sorry, just guesses.
Andrew




More information about the Gdb mailing list