Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4f29092 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: KGDB little endian support



Just need to use little-endian opcode for brki r16, 0x18

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
CC: Jason Wessel <jason.wessel@windriver.com>
parent 8e2ad016
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -142,5 +142,9 @@ void kgdb_arch_exit(void)
 * Global data
 * Global data
 */
 */
struct kgdb_arch arch_kgdb_ops = {
struct kgdb_arch arch_kgdb_ops = {
#ifdef __MICROBLAZEEL__
	.gdb_bpt_instr = {0x18, 0x00, 0x0c, 0xba}, /* brki r16, 0x18 */
#else
	.gdb_bpt_instr = {0xba, 0x0c, 0x00, 0x18}, /* brki r16, 0x18 */
	.gdb_bpt_instr = {0xba, 0x0c, 0x00, 0x18}, /* brki r16, 0x18 */
#endif
};
};