|
@@ -11,6 +11,7 @@
|
|
#define __ARM_KGDB_H__
|
|
#define __ARM_KGDB_H__
|
|
|
|
|
|
#include <linux/ptrace.h>
|
|
#include <linux/ptrace.h>
|
|
|
|
+#include <asm/opcodes.h>
|
|
|
|
|
|
/*
|
|
/*
|
|
* GDB assumes that we're a user process being debugged, so
|
|
* GDB assumes that we're a user process being debugged, so
|
|
@@ -41,7 +42,7 @@
|
|
|
|
|
|
static inline void arch_kgdb_breakpoint(void)
|
|
static inline void arch_kgdb_breakpoint(void)
|
|
{
|
|
{
|
|
- asm(".word 0xe7ffdeff");
|
|
|
|
|
|
+ asm(__inst_arm(0xe7ffdeff));
|
|
}
|
|
}
|
|
|
|
|
|
extern void kgdb_handle_bus_error(void);
|
|
extern void kgdb_handle_bus_error(void);
|