|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH][2 of 3] GDB serial port debugging: Respect opt_watch
Hello,
When trap_to_gdb in common/gdbstub.c returns, it calls watchdog_enable(). However, the watchdog functionality is an option controlled in arch/x86/setup.c using the opt_watchdog boot parameter, and currently defaults to 'off'. When the user resumes from a gdb session over the serial port, the watchdog will be enabled regardless of the 'opt_watchdog' flag. This patch addresses this issue by propagating the optional parameter to arch/x86/nmi.c and conditionally enabling/disabling the watchdog based on the value of the now global 'opt_watchdog' flag.
% diffstat opt_watchdog_patch
nmi.c | 11 ++++++++++- setup.c | 5 ++--- 2 files changed, 12 insertions(+), 4 deletions(-)
Dan.
opt_watchdog_patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH][2 of 3] GDB serial port debugging: Respect opt_watchdog flag when resuming a debug session,
Dan Doucette <=
|
|
|
|
|