aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c5
-rw-r--r--gdb/breakpoint.h3
3 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index df51c8b..4ee4899 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 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"));
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 5c7e69d..8317dd3 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). */