diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-11-03 02:23:10 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-11-03 02:23:10 +0000 |
commit | 4f9834005e111c76563533c563f2cc8bc577328d (patch) | |
tree | 2e2e737550d757242337491c9962353404db0e8d /gdb/stack.c | |
parent | 8920addc8227f9b4a7ca8704429845a3819a2d73 (diff) | |
download | gdb-4f9834005e111c76563533c563f2cc8bc577328d.zip gdb-4f9834005e111c76563533c563f2cc8bc577328d.tar.gz gdb-4f9834005e111c76563533c563f2cc8bc577328d.tar.bz2 |
* stack.c (down_silently_command): Add comment about PR 1913.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 0b26d56..2f2a104 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1199,7 +1199,16 @@ down_silently_command (count_exp, from_tty) frame = find_relative_frame (selected_frame, &count1); if (count1 != 0 && count_exp == 0) - error ("Bottom (i.e., innermost) frame selected; you cannot go down."); + { + + /* We only do this if count_exp is not specified. That way "down" + means to really go down (and let me know if that is + impossible), but "down 9999" can be used to mean go all the way + down without getting an error. */ + + error ("Bottom (i.e., innermost) frame selected; you cannot go down."); + } + select_frame (frame, selected_frame_level + count - count1); } |