diff options
Diffstat (limited to 'arch/powerpc/kernel/kgdb.c')
-rw-r--r-- | arch/powerpc/kernel/kgdb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/kgdb.c b/arch/powerpc/kernel/kgdb.c index 41bada0298c8..c81e3de1306e 100644 --- a/arch/powerpc/kernel/kgdb.c +++ b/arch/powerpc/kernel/kgdb.c | |||
@@ -309,6 +309,11 @@ void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) | |||
309 | (unsigned long)(((void *)gdb_regs) + NUMREGBYTES)); | 309 | (unsigned long)(((void *)gdb_regs) + NUMREGBYTES)); |
310 | } | 310 | } |
311 | 311 | ||
312 | void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc) | ||
313 | { | ||
314 | regs->nip = pc; | ||
315 | } | ||
316 | |||
312 | /* | 317 | /* |
313 | * This function does PowerPC specific procesing for interfacing to gdb. | 318 | * This function does PowerPC specific procesing for interfacing to gdb. |
314 | */ | 319 | */ |