Restore db_radix on parse error, otherwise we'll silently change it to

10 on a botched trace command.
This commit is contained in:
Warner Losh 2018-04-17 15:44:05 +00:00
parent 5eaf9435d0
commit 3531bbb5ea

View File

@ -812,6 +812,7 @@ db_stack_trace(db_expr_t tid, bool hastid, db_expr_t count, char *modif)
if (!db_expression(&count)) {
db_printf("Count missing\n");
db_flush_lex();
db_radix = radix;
return;
}
} else {