aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-11-05 18:58:29 +0000
committerAndrew Cagney <cagney@redhat.com>2004-11-05 18:58:29 +0000
commit98f276a08832a7fb1ee2707a6e4a3e44d1d4b349 (patch)
tree41197119c0864b30390ebb4d272269d55b555ba6 /gdb/stack.c
parent34e4178350592df5ab8187ef75a2318965af7b83 (diff)
downloadfsf-binutils-gdb-98f276a08832a7fb1ee2707a6e4a3e44d1d4b349.zip
fsf-binutils-gdb-98f276a08832a7fb1ee2707a6e4a3e44d1d4b349.tar.gz
fsf-binutils-gdb-98f276a08832a7fb1ee2707a6e4a3e44d1d4b349.tar.bz2
2004-11-05 Andrew Cagney <cagney@gnu.org>
* stack.c (parse_frame_specification_1): Clear selected_frame_p when not using selected frame.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index cceb1c1..a04d848 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -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. */