aboutsummaryrefslogtreecommitdiff
path: root/gdb/microblaze-tdep.c
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.c
parent1f596238d530e809dfe4b6164a1796e9a3cf1954 (diff)
downloadgdb-6254b3e32d1a4dabbac61d0cd8b9ef66aabe48b2.zip
gdb-6254b3e32d1a4dabbac61d0cd8b9ef66aabe48b2.tar.gz
gdb-6254b3e32d1a4dabbac61d0cd8b9ef66aabe48b2.tar.bz2
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.c')
-rw-r--r--gdb/microblaze-tdep.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/microblaze-tdep.c b/gdb/microblaze-tdep.c
index b008448..6f62357 100644
--- a/gdb/microblaze-tdep.c
+++ b/gdb/microblaze-tdep.c
@@ -63,9 +63,6 @@
#define IS_SAVE_HIDDEN_PTR(op, rd, ra, rb) \
((op == add || op == addik) && ra == MICROBLAZE_FIRST_ARGREG && rb == 0)
-/* All registers are 32 bits. */
-#define MICROBLAZE_REGISTER_SIZE 4
-
/* The registers of the Xilinx microblaze processor. */
static const char *microblaze_register_names[] =