* stack.c: Change the introduce of "disassemble-next-line".

This commit is contained in:
Hui Zhu
2009-03-17 05:59:34 +00:00
parent bba21f1561
commit 481df73e07
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2009-03-17 Hui Zhu <teawater@gmail.com>
* stack.c: Change the introduce of "disassemble-next-line".
2009-03-17 Pedro Alves <pedro@codesourcery.com> 2009-03-17 Pedro Alves <pedro@codesourcery.com>
* mi/mi-main.h (mi_print_timing_maybe): Add strict prototype, * mi/mi-main.h (mi_print_timing_maybe): Add strict prototype,

View File

@ -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 /* If ON, GDB will display disassembly of the next source line when
execution of the program being debugged stops. execution of the program being debugged stops.
If AUTO (which is the default) or the next source line cannot be If AUTO (which is the default), or there's no line info to determine
ascertained, display disassembly of the next instruction the source line of the next instruction, display disassembly of next
instead. */ instruction instead. */
static enum auto_boolean disassemble_next_line; 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."), _("\ Show whether to disassemble next source line when execution stops."), _("\
If ON, GDB will display disassembly of the next source line when\n\ If ON, GDB will display disassembly of the next source line when\n\
execution of the program being debugged stops.\n\ execution of the program being debugged stops.\n\
If AUTO (which is the default) or the next source line cannot be\n\ If AUTO (which is the default), or there's no line info to determine\n\
ascertained, display disassembly of the next instruction\n\ the source line of the next instruction, display disassembly of next\n\
instead."), instruction instead."),
NULL, NULL,
show_disassemble_next_line, show_disassemble_next_line,
&setlist, &showlist); &setlist, &showlist);