* Move comments on bypassing call dummy breakpoint from stack.c

to breakpoint.h.
This commit is contained in:
Jim Kingdon
1993-10-15 19:37:29 +00:00
parent d699eb2124
commit 78cab901b0
3 changed files with 35 additions and 30 deletions

View File

@ -50,6 +50,12 @@ enum bptype {
bp_step_resume,
/* The breakpoint at the end of a call dummy. */
/* FIXME: What if the function we are calling longjmp()s out of the
call, or the user gets out with the "return" command? We currently
have no way of cleaning up the breakpoint in these (obscure) situations.
(Probably can solve this by noticing longjmp, "return", etc., it's
similar to noticing when a watchpoint on a local variable goes out
of scope (with hardware support for watchpoints)). */
bp_call_dummy
};