Disable the pager for 'panic' and 'call' to be paranoid.
This commit is contained in:
parent
a02f5c6204
commit
15cc91d345
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160505
@ -424,6 +424,7 @@ db_command(last_cmdp, cmd_table)
|
||||
*/
|
||||
DB_COMMAND(panic, db_panic)
|
||||
{
|
||||
db_disable_pager();
|
||||
panic("from debugger");
|
||||
}
|
||||
|
||||
@ -527,6 +528,7 @@ db_fncall(dummy1, dummy2, dummy3, dummy4)
|
||||
}
|
||||
}
|
||||
db_skip_to_eol();
|
||||
db_disable_pager();
|
||||
|
||||
if (DB_CALL(fn_addr, &retval, nargs, args))
|
||||
db_printf("= %#lr\n", (long)retval);
|
||||
|
Loading…
Reference in New Issue
Block a user