This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]