Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB not showing local-to-block variables ?
@ 2003-01-08  8:09 Iztok Kobal
  2003-01-08  9:05 ` Iztok Kobal
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Iztok Kobal @ 2003-01-08  8:09 UTC (permalink / raw)
  To: gdb

System: i686, SuSE 8.1, kernel 2.4.19, gcc-3.2, gdb-5.2.1

code is configured to use exceptions and compiled using the 
--enable-debug. When invoking the gdb, it does not show the variables 
which are local to the block within some function:

void function (some argument) {
  try {
         some variable;     // which is not displayed by the debugger
         .....
         ......
  }
  catch (...) {
      ....
  }
}

When trying to display this variable as it was the watch variable, the 
debugger reports that there is no such symbol in the current stack frame.

Is this the debugger problem or there is an option to be used at compile 
time to get this info ?



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-09  9:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-08  8:09 GDB not showing local-to-block variables ? Iztok Kobal
2003-01-08  9:05 ` Iztok Kobal
2003-01-08 10:16 ` Iztok Kobal
2003-01-08 14:06 ` Elena Zannoni
2003-01-09  8:01   ` Iztok Kobal
2003-01-09  8:27 ` Iztok Kobal
2003-01-09  8:55   ` Iztok Kobal
2003-01-09  9:53     ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox