This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Should "finish" work in "main()"?
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb at sources dot redhat dot com
- Date: Thu, 25 Mar 2004 09:28:57 -0500
- Subject: Should "finish" work in "main()"?
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