diff options
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/kgdb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/kernel/kgdb.c b/arch/arm/kernel/kgdb.c index a5b846b9895d..c868a8864117 100644 --- a/arch/arm/kernel/kgdb.c +++ b/arch/arm/kernel/kgdb.c | |||
@@ -98,6 +98,11 @@ sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *task) | |||
98 | gdb_regs[_CPSR] = thread_regs->ARM_cpsr; | 98 | gdb_regs[_CPSR] = thread_regs->ARM_cpsr; |
99 | } | 99 | } |
100 | 100 | ||
101 | void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc) | ||
102 | { | ||
103 | regs->ARM_pc = pc; | ||
104 | } | ||
105 | |||
101 | static int compiled_break; | 106 | static int compiled_break; |
102 | 107 | ||
103 | int kgdb_arch_handle_exception(int exception_vector, int signo, | 108 | int kgdb_arch_handle_exception(int exception_vector, int signo, |