aboutsummaryrefslogtreecommitdiff
path: root/gdb/mn10300-tdep.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2005-04-18 23:15:00 +0000
committerMichael Snyder <msnyder@vmware.com>2005-04-18 23:15:00 +0000
commit9cacebf50f8d35ca14aaf848b8c1d2c487136fe2 (patch)
treed96a309092e452dfd37de4bd9ef4da4891a7bc5f /gdb/mn10300-tdep.h
parent791fe849086c2dccfa31932b388ab51f75f6a368 (diff)
downloadgdb-9cacebf50f8d35ca14aaf848b8c1d2c487136fe2.zip
gdb-9cacebf50f8d35ca14aaf848b8c1d2c487136fe2.tar.gz
gdb-9cacebf50f8d35ca14aaf848b8c1d2c487136fe2.tar.bz2
2005-04-18 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c: Assimilate code from mn10300-prologue.c. * mn10300-prologue.c: Remove. * mn10300-tdep.h: Add enums from mn10300-prologue.c. Remove prototypes. * config/mn10300/mn10300.mt: Remove mn10300-prologue module.
Diffstat (limited to 'gdb/mn10300-tdep.h')
-rw-r--r--gdb/mn10300-tdep.h24
1 files changed, 19 insertions, 5 deletions
diff --git a/gdb/mn10300-tdep.h b/gdb/mn10300-tdep.h
index b15ab2b..22b2e3f 100644
--- a/gdb/mn10300-tdep.h
+++ b/gdb/mn10300-tdep.h
@@ -50,6 +50,25 @@ enum {
E_NUM_REGS = 32
};
+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
+};
+
+/* Values for frame_info.status */
+
+enum frame_kind {
+ MY_FRAME_IN_SP = 0x1,
+ MY_FRAME_IN_FP = 0x2,
+ NO_MORE_FRAMES = 0x4
+};
+
/* mn10300 private data */
struct gdbarch_tdep
{
@@ -58,9 +77,4 @@ struct gdbarch_tdep
#define AM33_MODE (gdbarch_tdep (current_gdbarch)->am33_mode)
-extern CORE_ADDR mn10300_analyze_prologue (struct frame_info *,
- void **, CORE_ADDR);
-
-extern struct trad_frame_cache *mn10300_frame_unwind_cache (struct frame_info*,
- void **);