svn commit: r332648 - head/sys/ddb
Warner Losh
imp at FreeBSD.org
Tue Apr 17 15:44:06 UTC 2018
Author: imp
Date: Tue Apr 17 15:44:05 2018
New Revision: 332648
URL: https://svnweb.freebsd.org/changeset/base/332648
Log:
Restore db_radix on parse error, otherwise we'll silently change it to
10 on a botched trace command.
Modified:
head/sys/ddb/db_command.c
Modified: head/sys/ddb/db_command.c
==============================================================================
--- head/sys/ddb/db_command.c Tue Apr 17 15:34:08 2018 (r332647)
+++ head/sys/ddb/db_command.c Tue Apr 17 15:44:05 2018 (r332648)
@@ -812,6 +812,7 @@ db_stack_trace(db_expr_t tid, bool hastid, db_expr_t c
if (!db_expression(&count)) {
db_printf("Count missing\n");
db_flush_lex();
+ db_radix = radix;
return;
}
} else {
More information about the svn-src-all
mailing list