2004-11-05 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Fri, 5 Nov 2004 18:58:29 +0000 (18:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 5 Nov 2004 18:58:29 +0000 (18:58 +0000)
* stack.c (parse_frame_specification_1): Clear selected_frame_p
when not using selected frame.

gdb/ChangeLog
gdb/stack.c

index c33c8b53ab2e6079bc9bbebe64a360ed5b507f3d..62312f3d2395f6cbbd7e4b52bd7f6158ab21c708 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-05  Andrew Cagney  <cagney@gnu.org>
+
+       * stack.c (parse_frame_specification_1): Clear selected_frame_p
+       when not using selected frame.
+
 2004-11-05  Mark Kettenis  <kettenis@jive.nl>
 
        * dwarf2-frame.c (decode_frame_entry_1): Correctly skip
index cceb1c1f2c3403d74dc5138c86d78663078b94d0..a04d8483b9fca8d28c9ca202e2c63df810b2f1d4 100644 (file)
@@ -778,7 +778,7 @@ parse_frame_specification_1 (const char *frame_exp, const char *message,
 
   /* None of the remaining use the selected frame.  */
   if (selected_frame_p != NULL)
-    (*selected_frame_p) = 1;
+    (*selected_frame_p) = 0;
 
   /* Assume the single arg[0] is an integer, and try using that to
      select a frame relative to current.  */
This page took 0.032983 seconds and 4 git commands to generate.