diff options
Diffstat (limited to 'arch/x86/kernel/kgdb.c')
-rw-r--r-- | arch/x86/kernel/kgdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c index 7d651adcb222..8c7e555f6d39 100644 --- a/arch/x86/kernel/kgdb.c +++ b/arch/x86/kernel/kgdb.c | |||
@@ -370,6 +370,8 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, | |||
370 | ptr = &remcomInBuffer[1]; | 370 | ptr = &remcomInBuffer[1]; |
371 | if (kgdb_hex2long(&ptr, &addr)) | 371 | if (kgdb_hex2long(&ptr, &addr)) |
372 | linux_regs->ip = addr; | 372 | linux_regs->ip = addr; |
373 | case 'D': | ||
374 | case 'k': | ||
373 | newPC = linux_regs->ip; | 375 | newPC = linux_regs->ip; |
374 | 376 | ||
375 | /* clear the trace bit */ | 377 | /* clear the trace bit */ |
@@ -480,6 +482,8 @@ static int __kgdb_notify(struct die_args *args, unsigned long cmd) | |||
480 | if (kgdb_handle_exception(args->trapnr, args->signr, args->err, regs)) | 482 | if (kgdb_handle_exception(args->trapnr, args->signr, args->err, regs)) |
481 | return NOTIFY_DONE; | 483 | return NOTIFY_DONE; |
482 | 484 | ||
485 | /* Must touch watchdog before return to normal operation */ | ||
486 | touch_nmi_watchdog(); | ||
483 | return NOTIFY_STOP; | 487 | return NOTIFY_STOP; |
484 | } | 488 | } |
485 | 489 | ||