diff options
Diffstat (limited to 'arch/blackfin/kernel/kgdb.c')
-rw-r--r-- | arch/blackfin/kernel/kgdb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index 2c501ceb1e55..7367aea4ae59 100644 --- a/arch/blackfin/kernel/kgdb.c +++ b/arch/blackfin/kernel/kgdb.c | |||
@@ -439,6 +439,11 @@ int kgdb_validate_break_address(unsigned long addr) | |||
439 | return -EFAULT; | 439 | return -EFAULT; |
440 | } | 440 | } |
441 | 441 | ||
442 | void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip) | ||
443 | { | ||
444 | regs->retx = ip; | ||
445 | } | ||
446 | |||
442 | int kgdb_arch_init(void) | 447 | int kgdb_arch_init(void) |
443 | { | 448 | { |
444 | kgdb_single_step = 0; | 449 | kgdb_single_step = 0; |