summaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-03-17 05:59:34 +0000
committerHui Zhu <teawater@gmail.com>2009-03-17 05:59:34 +0000
commitafe3398d21aeb2db9102943064d3f8f3dca65a78 (patch)
tree468f1315cfe22d2f421710ba4f00b3fbeb36c5d4 /gdb/stack.c
parent4154ca785ead2ff26e43e11779ba6ec7a2c33e50 (diff)
downloadgdb-afe3398d21aeb2db9102943064d3f8f3dca65a78.tar.gz
* stack.c: Change the introduce of "disassemble-next-line".
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 9b7d810d307..f185841ac20 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -459,9 +459,9 @@ set_current_sal_from_frame (struct frame_info *frame, int center)
/* If ON, GDB will display disassembly of the next source line when
execution of the program being debugged stops.
- If AUTO (which is the default) or the next source line cannot be
- ascertained, display disassembly of the next instruction
- instead. */
+ If AUTO (which is the default), or there's no line info to determine
+ the source line of the next instruction, display disassembly of next
+ instruction instead. */
static enum auto_boolean disassemble_next_line;
@@ -2142,9 +2142,9 @@ 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 the next source line cannot be\n\
-ascertained, display disassembly of the next instruction\n\
-instead."),
+If AUTO (which is the default), 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);