This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Add a sentinel frame
Michael,
A shallow analysis of the problem is that, when the PC is in the frame
dummy, read_fp() (i.e., cfi_read_fp()) returns NULL (an invalid frame).
The new code is checking for this and bailing out. Disabling the test
doesn't exactly improve things:
(gdb) finish
Inside legacy frame
Run till exit from #0 marker2 (a=99) at
/home/cagney/PENDING/2003-02-24-prev-checks/src/gdb/testsuite/gdb.base/break.c:49
cfi_read_fp -> 0x0000000000000000
Can't pop dummy frame!
(gdb)
since the search for a NULL frame in the dummy_frame_stack will fail
(see dummy_frame_pop).
Andrew