Browse Source

2004-11-05 Andrew Cagney <cagney@gnu.org>

* stack.c (parse_frame_specification_1): Clear selected_frame_p
	when not using selected frame.
binutils-csl-arm-2005q1-branch
Andrew Cagney 22 years ago
parent
commit
98f276a088
  1. 5
      gdb/ChangeLog
  2. 2
      gdb/stack.c

5
gdb/ChangeLog

@ -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

2
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. */

Loading…
Cancel
Save