aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/kgdb.c')
-rw-r--r--arch/arm/kernel/kgdb.c5
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
101void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
102{
103 regs->ARM_pc = pc;
104}
105
101static int compiled_break; 106static int compiled_break;
102 107
103int kgdb_arch_handle_exception(int exception_vector, int signo, 108int kgdb_arch_handle_exception(int exception_vector, int signo,