Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2018 15:44:06 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r332648 - head/sys/ddb
Message-ID:  <201804171544.w3HFi6CN010436@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804171544.w3HFi6CN010436>