From: Jim Kingdon Date: Tue, 21 Sep 1993 22:55:39 +0000 (+0000) Subject: * breakpoint.c (breakpoint_1): Support bp_call_dummy. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb7b38008eca5e948b39e65c7d5ff9ae2eb56a4a;p=binutils-gdb.git * breakpoint.c (breakpoint_1): Support bp_call_dummy. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index df51c8b3ed2..4ee4899ef6f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 21 17:48:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * breakpoint.c (breakpoint_1): Support bp_call_dummy. + Tue Sep 21 17:06:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * elfread.c (record_minimal_symbol_and_info): Guess the section to diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index bec31eb8909..ad0462a36e9 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -1318,6 +1318,7 @@ bpstat_what (bs) pops the dummy frame. */ bs_class = bp_silent; retval.call_dummy = 1; + break; } current_action = table[(int)bs_class][(int)current_action]; } @@ -1354,7 +1355,8 @@ breakpoint_1 (bnum, allflag) CORE_ADDR last_addr = (CORE_ADDR)-1; int found_a_breakpoint = 0; static char *bptypes[] = {"breakpoint", "until", "finish", "watchpoint", - "longjmp", "longjmp resume", "step resume"}; + "longjmp", "longjmp resume", "step resume", + "call dummy" }; static char *bpdisps[] = {"del", "dis", "keep"}; static char bpenables[] = "ny"; char wrap_indent[80]; @@ -1393,6 +1395,7 @@ breakpoint_1 (bnum, allflag) case bp_longjmp: case bp_longjmp_resume: case bp_step_resume: + case bp_call_dummy: if (addressprint) printf_filtered ("%s ", local_hex_string_custom(b->address, "08")); diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 5c7e69d116d..8317dd3886b 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -33,9 +33,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* FIXME In the future, we should fold all other breakpoint-like things into here. This includes: - * call-dummy (the breakpoint at the end of a subroutine stub that gdb - uses to call functions in the target) (definately). - * single-step (for machines where we have to simulate single stepping) (probably, though perhaps it is better for it to look as much as possible like a single-step to wait_for_inferior). */