aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mn10300
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-08-11 07:54:49 +0000
committerAndrew Cagney <cagney@redhat.com>2000-08-11 07:54:49 +0000
commit9122588356d7557602e9eac617b1a4f61c862ed1 (patch)
tree8e4832e597197443e562a558854bbeb989f5485d /gdb/config/mn10300
parente326ed24bebaccd0cdb87897e7514882328cdd8f (diff)
downloadgdb-9122588356d7557602e9eac617b1a4f61c862ed1.zip
gdb-9122588356d7557602e9eac617b1a4f61c862ed1.tar.gz
gdb-9122588356d7557602e9eac617b1a4f61c862ed1.tar.bz2
Enable multi-arch for the mn10300.
Diffstat (limited to 'gdb/config/mn10300')
-rw-r--r--gdb/config/mn10300/tm-mn10300.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h
index 28981ab..93af48a 100644
--- a/gdb/config/mn10300/tm-mn10300.h
+++ b/gdb/config/mn10300/tm-mn10300.h
@@ -1,5 +1,5 @@
/* Parameters for execution on a Matsushita mn10300 processor.
- Copyright 1996, 1997 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 2000 Free Software Foundation, Inc.
Contributed by Geoffrey Noer <noer@cygnus.com>
@@ -20,6 +20,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define GDB_MULTI_ARCH 1
+
/* The mn10300 is little endian. */
#define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN
@@ -38,9 +40,6 @@
#define REGISTER_BYTES (NUM_REGS * REGISTER_SIZE)
-extern char *mn10300_register_name (int regnr);
-#define REGISTER_NAME(i) (mn10300_register_name (i))
-
#define D2_REGNUM 2
#define D3_REGNUM 3
#define A2_REGNUM 6
@@ -141,7 +140,7 @@ extern CORE_ADDR mn10300_push_return_address (CORE_ADDR, CORE_ADDR);
extern CORE_ADDR
mn10300_push_arguments (int, struct value **, CORE_ADDR,
- unsigned char, CORE_ADDR);
+ int, CORE_ADDR);
#define PUSH_ARGUMENTS(NARGS, ARGS, SP, STRUCT_RETURN, STRUCT_ADDR) \
(mn10300_push_arguments (NARGS, ARGS, SP, STRUCT_RETURN, STRUCT_ADDR))