diff options
author | Michal Simek <monstr@monstr.eu> | 2010-09-28 01:49:17 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-10-21 01:51:58 -0400 |
commit | e4f29092272ee91a34d3660c31f15ed103057aa0 (patch) | |
tree | 93648e70ab5622a77ede8143b86ecd8132e8f209 /arch/microblaze | |
parent | 8e2ad016b20f98790d5995aae1d157d1613ab9e6 (diff) |
microblaze: KGDB little endian support
Just need to use little-endian opcode for brki r16, 0x18
Signed-off-by: Michal Simek <monstr@monstr.eu>
CC: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/kernel/kgdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/kgdb.c b/arch/microblaze/kernel/kgdb.c index 9b5a817605ec..09a5e8286137 100644 --- a/arch/microblaze/kernel/kgdb.c +++ b/arch/microblaze/kernel/kgdb.c | |||
@@ -142,5 +142,9 @@ void kgdb_arch_exit(void) | |||
142 | * Global data | 142 | * Global data |
143 | */ | 143 | */ |
144 | struct kgdb_arch arch_kgdb_ops = { | 144 | struct kgdb_arch arch_kgdb_ops = { |
145 | #ifdef __MICROBLAZEEL__ | ||
146 | .gdb_bpt_instr = {0x18, 0x00, 0x0c, 0xba}, /* brki r16, 0x18 */ | ||
147 | #else | ||
145 | .gdb_bpt_instr = {0xba, 0x0c, 0x00, 0x18}, /* brki r16, 0x18 */ | 148 | .gdb_bpt_instr = {0xba, 0x0c, 0x00, 0x18}, /* brki r16, 0x18 */ |
149 | #endif | ||
146 | }; | 150 | }; |