aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m32r
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/m32r
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/m32r')
-rw-r--r--gdb/config/m32r/tm-m32r.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/gdb/config/m32r/tm-m32r.h b/gdb/config/m32r/tm-m32r.h
index c9342e1..4e01197 100644
--- a/gdb/config/m32r/tm-m32r.h
+++ b/gdb/config/m32r/tm-m32r.h
@@ -222,7 +222,6 @@ extern CORE_ADDR m32r_push_arguments PARAMS ((int nargs,
one that takes account of generic CALL_DUMMY frames */
#define GET_SAVED_REGISTER
-#if 1
#define CALL_DUMMY {0}
#define CALL_DUMMY_LENGTH (0)
#define CALL_DUMMY_START_OFFSET (0)
@@ -230,27 +229,3 @@ extern CORE_ADDR m32r_push_arguments PARAMS ((int nargs,
#define FIX_CALL_DUMMY(DUMMY1, STARTADDR, FUNADDR, NARGS, ARGS, TYPE, GCCP)
#define CALL_DUMMY_LOCATION AT_ENTRY_POINT
#define CALL_DUMMY_ADDRESS() entry_point_address ()
-
-#else
-/*
-/* 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:
-
- ld24 R8, <destination>
- jl R8
- nop
- trap
-*/
-#define CALL_DUMMY { 0xe8000000, 0x1ec87000, 0x10f110f1 }
-#define CALL_DUMMY_LENGTH (12)
-#define CALL_DUMMY_START_OFFSET (0)
-#define CALL_DUMMY_BREAKPOINT_OFFSET (8)
-#define FIX_CALL_DUMMY(DUMMY1, STARTADDR, FUNADDR, NARGS, ARGS, TYPE, GCCP) \
- m32r_fix_call_dummy (DUMMY1, STARTADDR, FUNADDR, NARGS, ARGS, TYPE, GCCP)
-#define CALL_DUMMY_LOCATION ON_STACK
-#define NEED_TEXT_START_END
-#endif