diff options
| author | Hui Zhu <teawater@gmail.com> | 2009-03-17 05:59:34 +0000 | 
|---|---|---|
| committer | Hui Zhu <teawater@gmail.com> | 2009-03-17 05:59:34 +0000 | 
| commit | 481df73e0718dcaaaead2dd99142a9dc2b93a79c (patch) | |
| tree | 752a1392fb0cd2a13851ed64d4680d3223f3b065 | |
| parent | bba21f1561dba85f85c50bc995443fd51c80609d (diff) | |
| download | binutils-481df73e0718dcaaaead2dd99142a9dc2b93a79c.zip binutils-481df73e0718dcaaaead2dd99142a9dc2b93a79c.tar.gz binutils-481df73e0718dcaaaead2dd99142a9dc2b93a79c.tar.bz2 | |
* stack.c: Change the introduce of "disassemble-next-line".
| -rw-r--r-- | gdb/ChangeLog | 4 | ||||
| -rw-r--r-- | gdb/stack.c | 12 | 
2 files changed, 10 insertions, 6 deletions
| diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 377df56..7d0ce0a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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>  	* mi/mi-main.h (mi_print_timing_maybe): Add strict prototype, diff --git a/gdb/stack.c b/gdb/stack.c index 9b7d810..f185841 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); | 
