gdb: Unregister gdbstub_break command when unloading module
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
72daccfb56
commit
bdfef24672
@ -98,6 +98,7 @@ GRUB_MOD_INIT (gdb)
|
||||
GRUB_MOD_FINI (gdb)
|
||||
{
|
||||
grub_unregister_command (cmd);
|
||||
grub_unregister_command (cmd_break);
|
||||
grub_unregister_command (cmd_stop);
|
||||
grub_gdb_idtrestore ();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user