On Wed 05 Mar 2003 (12:56 +0100), Holger wrote:
> I've got a few gdb questions. I even looked through the entire gdb
> documentation but couldn't find anything.
>
> Is there a way to display the contents of all variables in local scope or
> even better at the current or next source line? All globals as well? And
> maybe even automatically?
Not that I know of.
You can use info variables to get the names of all globals (and file
scoped statics in the current file), you can then set up displays to
trak them. But I know of no way to get a list of, much less a display
of all the currently active local variables.