summaryrefslogtreecommitdiff
path: root/gdb/microblaze-tdep.h
diff options
context:
space:
mode:
authoreager <eager>2009-10-16 23:21:23 +0000
committereager <eager>2009-10-16 23:21:23 +0000
commitd63f60a3a2bb003983002aa197f96447e32f24cc (patch)
tree6877ffff57b81afba39fb44e0622b8fd56b2b7ba /gdb/microblaze-tdep.h
parent3add401544221e217f73ebacdb63dd00392dfc64 (diff)
downloadgdb-d63f60a3a2bb003983002aa197f96447e32f24cc.tar.gz
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 5a6c6a1057a..8a10c3cee9b 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}