aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-04-22 06:06:12 +0000
committerHui Zhu <teawater@gmail.com>2009-04-22 06:06:12 +0000
commita362e3d3b724195e0d78afd002682084e110c5b0 (patch)
treea7760d1b27ed15dccdcc0b48c7efa6b831723a58
parentd2596e2e7b3d9f2a1d559c619996a3072678a747 (diff)
downloadgdb-a362e3d3b724195e0d78afd002682084e110c5b0.zip
gdb-a362e3d3b724195e0d78afd002682084e110c5b0.tar.gz
gdb-a362e3d3b724195e0d78afd002682084e110c5b0.tar.bz2
* stack.c (_initialize_stack): Set the default of
disassemble-next-line to off.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/stack.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 542fd04..02c5a60 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-22 Hui Zhu <teawater@gmail.com>
+
+ * stack.c (_initialize_stack): Set the default of
+ disassemble-next-line to off.
+
2009-04-21 Tom Tromey <tromey@redhat.com>
* acinclude.m4: Use AS_HELP_STRING, not AC_HELP_STRING.
diff --git a/gdb/stack.c b/gdb/stack.c
index dfe3900..f7bb81e 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2149,13 +2149,13 @@ Set whether to disassemble next source line when execution stops."), _("\
Show whether to disassemble next source line when execution stops."), _("\
If ON, GDB will display disassembly of the next source line when\n\
execution of the program being debugged stops.\n\
-If AUTO (which is the default), or there's no line info to determine\n\
+If AUTO, or there's no line info to determine\n\
the source line of the next instruction, display disassembly of next\n\
instruction instead."),
NULL,
show_disassemble_next_line,
&setlist, &showlist);
- disassemble_next_line = AUTO_BOOLEAN_AUTO;
+ disassemble_next_line = AUTO_BOOLEAN_FALSE;
#if 0
add_cmd ("backtrace-limit", class_stack, set_backtrace_limit_command, _(\