aboutsummaryrefslogtreecommitdiff
path: root/gdb/mn10300-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-12 03:39:11 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-12 03:39:11 +0000
commit6ca173e32ce4933fec50f130d36dd07e20391af5 (patch)
tree69092a3b71b6b73afd17f8ba477c3bb354174c66 /gdb/mn10300-tdep.c
parent5ea92dfe6a636f07dfb247509827780fe31f8075 (diff)
downloadgdb-6ca173e32ce4933fec50f130d36dd07e20391af5.zip
gdb-6ca173e32ce4933fec50f130d36dd07e20391af5.tar.gz
gdb-6ca173e32ce4933fec50f130d36dd07e20391af5.tar.bz2
* config/mn10300/mn10300.mt (TM_FILE): Delete.
* configure.tgt: Add mn10300 to list of mulit-arch targets. * config/mn10300/tm-mn10300.h: Delete file. Move contents ... * mn10300-tdep.c: To here.
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r--gdb/mn10300-tdep.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index 087f8ef..472e260 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -32,6 +32,33 @@
#include "regcache.h"
#include "arch-utils.h"
+#define D0_REGNUM 0
+#define D2_REGNUM 2
+#define D3_REGNUM 3
+#define A0_REGNUM 4
+#define A2_REGNUM 6
+#define A3_REGNUM 7
+#define MDR_REGNUM 10
+#define PSW_REGNUM 11
+#define LIR_REGNUM 12
+#define LAR_REGNUM 13
+#define MDRQ_REGNUM 14
+#define E0_REGNUM 15
+#define MCRH_REGNUM 26
+#define MCRL_REGNUM 27
+#define MCVF_REGNUM 28
+
+enum movm_register_bits {
+ movm_exother_bit = 0x01,
+ movm_exreg1_bit = 0x02,
+ movm_exreg0_bit = 0x04,
+ movm_other_bit = 0x08,
+ movm_a3_bit = 0x10,
+ movm_a2_bit = 0x20,
+ movm_d3_bit = 0x40,
+ movm_d2_bit = 0x80
+};
+
extern void _initialize_mn10300_tdep (void);
static CORE_ADDR mn10300_analyze_prologue (struct frame_info *fi,
CORE_ADDR pc);