------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-20 07:50 ------- I could not get 3.3.3 (or 3.4.0 to get the correct results): (gdb) b main Breakpoint 1 at 0x8048374: file t.c, line 16. (gdb) run Starting program: /home/peshtigo/pinskia/a.out
Breakpoint 1, main () at t.c:16 16 foo (); (gdb) step foo () at t.c:3 3 int a = 0; (gdb) 10 bar (); (gdb) bar.0 () at t.c:7 7 a = 1; (gdb) p a No symbol "a" in current context. (gdb) step 8 } (gdb) p a No symbol "a" in current context. (gdb) step foo () at t.c:11 11 a = a + 1; (gdb) 12 } (gdb) main () at t.c:17 17 } (gdb) 0x003e7ad4 in __libc_start_main () from /lib/tls/libc.so.6 -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26754