aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-04-25 09:42:15 +0000
committerEli Zaretskii <eliz@gnu.org>2009-04-25 09:42:15 +0000
commit80a0ea0fefa9d2f7919aa028bbc63de584c8cec8 (patch)
treeba7f8029189cd3939426b1e25a5bd446f3e4fbe7 /gdb/stack.c
parentdc62663dd53901ddfbc34e97446f60b3f2c05d35 (diff)
downloadgdb-80a0ea0fefa9d2f7919aa028bbc63de584c8cec8.zip
gdb-80a0ea0fefa9d2f7919aa028bbc63de584c8cec8.tar.gz
gdb-80a0ea0fefa9d2f7919aa028bbc63de584c8cec8.tar.bz2
* stack.c (_initialize_stack) <disassemble-next-line>: Doc fix.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 868111a..3b2b12c 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2149,13 +2149,17 @@ Usage: func <name>\n"));
add_setshow_auto_boolean_cmd ("disassemble-next-line", class_stack,
&disassemble_next_line, _("\
-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, or there's no line info to determine\n\
-the source line of the next instruction, display disassembly of next\n\
-instruction instead."),
+Set whether to disassemble next source line or insn when execution stops."), _("\
+Show whether to disassemble next source line or insn when execution stops."), _("\
+If ON, GDB will display disassembly of the next source line, in addition\n\
+to displaying the source line itself. If the next source line cannot\n\
+be displayed (e.g., source is unavailable or there's no line info), GDB\n\
+will display disassembly of next instruction instead of showing the\n\
+source line.\n\
+If AUTO, display disassembly of next instruction only if the source line\n\
+cannot be displayed.\n\
+If OFF (which is the default), never display the disassembly of the next\n\
+source line."),
NULL,
show_disassemble_next_line,
&setlist, &showlist);