* stack.c (down_silently_command): Add comment about PR 1913.
authorJim Kingdon <jkingdon@engr.sgi.com>
Wed, 3 Nov 1993 02:23:10 +0000 (02:23 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Wed, 3 Nov 1993 02:23:10 +0000 (02:23 +0000)
gdb/ChangeLog
gdb/stack.c

index db002c207e7f204ed34b5cc5aa695cf61177a9be..ddf124283dbafb79f1a54c2631c46f2e3763d4eb 100644 (file)
@@ -1,5 +1,7 @@
 Tue Nov  2 16:28:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * stack.c (down_silently_command): Add comment about PR 1913.
+
        * breakpoint.c (insert_breakpoints, delete_breakpoint): Call
        target_terminal_ours_for_output before attempting output.
 
index 0b26d569881d9c4a02bd94e0b2728f685b57849d..2f2a104b42df8c59e500bc8a7e230da0b25219ea 100644 (file)
@@ -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);
 }