Should "finish" work in "main()"?

Andrew Cagney cagney@gnu.org
Thu Mar 25 15:35:00 GMT 2004


This happens:

(gdb) finish
"finish" not meaningful in the outermost frame.
(gdb)

I suspect that there are a number of cases where the just posted 
frame_id_p (frame_id_unwind()) rather than get_prev_frame() != NULL
should be used.

Andrew



More information about the Gdb mailing list