summaryrefslogtreecommitdiff
path: root/gdb/microblaze-tdep.h
diff options
context:
space:
mode:
authorMichael Eager <eager@eagercon.com>2009-10-16 23:21:23 +0000
committerMichael Eager <eager@eagercon.com>2009-10-16 23:21:23 +0000
commit6254b3e32d1a4dabbac61d0cd8b9ef66aabe48b2 (patch)
treef2e5aa77ede2ba80271522f2c870f4a8dd37021c /gdb/microblaze-tdep.h
parent1f596238d530e809dfe4b6164a1796e9a3cf1954 (diff)
Fix build failure for microblaze-xilinx-linux.
* microblaze-linux-tdep.c: microblaze_linux_memory_remove_breakpoint(): Add gdbarch to param, replace frame_pc_unwind with get_frame_address_in_block. * microblaze-tdep.c: Remove MICROBLAZE_REGISTER_SIZE. * microblaze-tdep.h: Add MICROBLAZE_REGISTER_SIZE.
Diffstat (limited to 'gdb/microblaze-tdep.h')
-rw-r--r--gdb/microblaze-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/microblaze-tdep.h b/gdb/microblaze-tdep.h
index 5a6c6a1057..8a10c3cee9 100644
--- a/gdb/microblaze-tdep.h
+++ b/gdb/microblaze-tdep.h
@@ -110,6 +110,9 @@ enum microblaze_regnum
MICROBLAZE_RTLBHI_REGNUM
};
+/* All registers are 32 bits. */
+#define MICROBLAZE_REGISTER_SIZE 4
+
/* MICROBLAZE_BREAKPOINT defines the breakpoint that should be used.
Only used for native debugging. */
#define MICROBLAZE_BREAKPOINT {0xb9, 0xcc, 0x00, 0x60}