diff options
author | eager <eager> | 2009-10-16 23:21:23 +0000 |
---|---|---|
committer | eager <eager> | 2009-10-16 23:21:23 +0000 |
commit | d63f60a3a2bb003983002aa197f96447e32f24cc (patch) | |
tree | 6877ffff57b81afba39fb44e0622b8fd56b2b7ba /gdb/microblaze-tdep.h | |
parent | 3add401544221e217f73ebacdb63dd00392dfc64 (diff) | |
download | gdb-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.h | 3 |
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} |