diff options
author | jhb <jhb@FreeBSD.org> | 2006-07-19 18:26:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-07-19 18:26:53 +0000 |
commit | de5f3a26d7a77dc461ed2c15145b9b2ba0386750 (patch) | |
tree | e16a036b509f0ddc1700092cd4b482997772388d | |
parent | 35822ba820f283012cee418aab3b6e7111e888b8 (diff) | |
download | FreeBSD-src-de5f3a26d7a77dc461ed2c15145b9b2ba0386750.zip FreeBSD-src-de5f3a26d7a77dc461ed2c15145b9b2ba0386750.tar.gz |
Disable the pager for 'panic' and 'call' to be paranoid.
-rw-r--r-- | sys/ddb/db_command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index c92d52f..5494c84 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -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); |