------- Comment #3 from tromey at gcc dot gnu dot org 2009-12-14 16:26 ------- This seems to work better with svn trunk:
Breakpoint 2, func2 () at pr.c:5 5 return 0; (gdb) fini Run till exit from #0 func2 () at pr.c:5 0x080483c3 in main () at pr.c:13 13 || func2 () Value returned is $3 = 0 (gdb) s 14 || func3 ()) (gdb) s func3 () at pr.c:8 8 return 1; (gdb) fini Run till exit from #0 func3 () at pr.c:8 0x080483cc in main () at pr.c:14 14 || func3 ()) Value returned is $4 = 1 (gdb) s 15 return 0; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27672