mirror of
https://github.com/MiSTer-devel/Linux-Kernel_MiSTer.git
synced 2026-04-19 03:04:24 +00:00
v5.14
This commit is contained in:
@@ -1032,12 +1032,13 @@ dbg_notify_reboot(struct notifier_block *this, unsigned long code, void *x)
|
||||
/*
|
||||
* Take the following action on reboot notify depending on value:
|
||||
* 1 == Enter debugger
|
||||
* 0 == [the default] detatch debug client
|
||||
* 0 == [the default] detach debug client
|
||||
* -1 == Do nothing... and use this until the board resets
|
||||
*/
|
||||
switch (kgdbreboot) {
|
||||
case 1:
|
||||
kgdb_breakpoint();
|
||||
goto done;
|
||||
case -1:
|
||||
goto done;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user