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 { _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"