aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-18 19:15:36 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-18 19:15:36 +0000
commit84d598611e42de0248b0e7689e4ebe062e1699b6 (patch)
tree1c3a237117e6da4d05253598281ac94dab624a43 /gdb/config/sparc
parentfa79d853b89ca298ff6a6b256e610ccc917cd33b (diff)
downloadgdb-84d598611e42de0248b0e7689e4ebe062e1699b6.zip
gdb-84d598611e42de0248b0e7689e4ebe062e1699b6.tar.gz
gdb-84d598611e42de0248b0e7689e4ebe062e1699b6.tar.bz2
* defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET. * breakpoint.h (enum bptype): Add bp_call_dummy. (struct bpstat_what): Add call_dummy field. * infrun.c (wait_for_inferior): Deal with it. * breakpoint.c (bpstat_what): Deal with call dummy breakpoint. * infcmd.c (run_stack_dummy): Set the call dummy breakpoint. * config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r--gdb/config/sparc/tm-sparc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 70f1f20..09193f8 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -554,6 +554,8 @@ arguments. */
#define CALL_DUMMY_START_OFFSET 148
+#define CALL_DUMMY_BREAKPOINT_OFFSET (CALL_DUMMY_START_OFFSET + (8 * 4))
+
#define CALL_DUMMY_STACK_ADJUST 68
/* Insert the specified number of args and function address