aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-21 22:55:39 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-21 22:55:39 +0000
commitbb7b38008eca5e948b39e65c7d5ff9ae2eb56a4a (patch)
tree36b678d4155e9a8cdc676bd1e75f616bec452aa4 /gdb/breakpoint.c
parenta0f3541f4091aea6f57a328463df567e771f9634 (diff)
downloadgdb-bb7b38008eca5e948b39e65c7d5ff9ae2eb56a4a.zip
gdb-bb7b38008eca5e948b39e65c7d5ff9ae2eb56a4a.tar.gz
gdb-bb7b38008eca5e948b39e65c7d5ff9ae2eb56a4a.tar.bz2
* breakpoint.c (breakpoint_1): Support bp_call_dummy.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index bec31eb..ad0462a 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"));