aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/v850
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1996-11-27 19:31:26 +0000
committerMichael Snyder <msnyder@vmware.com>1996-11-27 19:31:26 +0000
commit409f64ae056e9f06ea492bfe4ffb42f85170ed5d (patch)
tree7d2a16ea8489169e39cbe23355ea43a540f6496f /gdb/config/v850
parent50f04a5a37ce4bd1da4def5bee108c361cdfddac (diff)
downloadgdb-409f64ae056e9f06ea492bfe4ffb42f85170ed5d.zip
gdb-409f64ae056e9f06ea492bfe4ffb42f85170ed5d.tar.gz
gdb-409f64ae056e9f06ea492bfe4ffb42f85170ed5d.tar.bz2
Wed Nov 27 11:29:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* blockframe.c: ...Remove old-style CALL_DUMMY code... * h8300-tdep.c: * config/h8300/tm-h8300.h: start-sanitize-m32r * m32r-tdep.c: * config/m32r/tm-m32r.h: end-sanitize-m32r * sh-tdep.c: * config/sh/tm-sh.h: start-sanitize-v850 * v850-tdep.c: * config/v850/tm-v850.h: end-sanitize-v850
Diffstat (limited to 'gdb/config/v850')
-rw-r--r--gdb/config/v850/tm-v850.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/gdb/config/v850/tm-v850.h b/gdb/config/v850/tm-v850.h
index 1bc61c4..9164617 100644
--- a/gdb/config/v850/tm-v850.h
+++ b/gdb/config/v850/tm-v850.h
@@ -113,27 +113,6 @@ extern CORE_ADDR v850_skip_prologue PARAMS ((CORE_ADDR pc));
extern void v850_pop_frame PARAMS ((struct frame_info *frame));
#define POP_FRAME v850_pop_frame (get_current_frame ())
-#if 0
-/* Use these defines if, for whatever reason, you want to use a
- genuine call_dummy sequence (A sequence of machine instructions
- that GDB will write into the target address space, usually on the
- stack, for calling a function in the inferior):
-
- This sequence of words defines the instructions:
-
- jarl <offset24>, r31
- trap
-*/
-#define CALL_DUMMY { 0x0000ff80, 0xffffffff }
-#define CALL_DUMMY_LENGTH (8)
-#define CALL_DUMMY_START_OFFSET (0)
-#define CALL_DUMMY_BREAKPOINT_OFFSET (4)
-#define CALL_DUMMY_LOCATION ON_STACK
-#define FIX_CALL_DUMMY(DUMMY, START, FUNADDR, NARGS, ARGS, TYPE, GCCP) \
- v850_fix_call_dummy (DUMMY, START, FUNADDR, NARGS, ARGS, TYPE, GCCP);
-
-#else /* These defines write NO instructions into the inferior process,
- and are therefore preferred because they make target calls faster. */
#define CALL_DUMMY {0}
#define CALL_DUMMY_START_OFFSET (0)
#define CALL_DUMMY_BREAKPOINT_OFFSET (0)
@@ -142,7 +121,7 @@ extern void v850_pop_frame PARAMS ((struct frame_info *frame));
#define CALL_DUMMY_ADDRESS() entry_point_address ()
extern CORE_ADDR v850_push_return_address PARAMS ((CORE_ADDR, CORE_ADDR));
#define PUSH_RETURN_ADDRESS(PC, SP) v850_push_return_address (PC, SP)
-#endif
+
#define PUSH_DUMMY_FRAME generic_push_dummy_frame ()