diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-29 19:40:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-29 19:40:30 +0000 |
commit | b43b754e0a284e0d27f32a3db862a8ea94bc2147 (patch) | |
tree | d7dfb33bfc05d0a84ee56397dabe1d81380f545e /gdb/remote-rdp.c | |
parent | a6885551ac33ebf0bc670c2133db60d0915fd733 (diff) | |
download | gdb-b43b754e0a284e0d27f32a3db862a8ea94bc2147.tar.gz |
2002-11-29 Andrew Cagney <cagney@redhat.com>
* remote-mips.c (mips_initialize): Force a selected frame rebuild
by calling get_selected_frame.
* ocd.c (ocd_start_remote): Use get_selected frame instead of
set_current_frame, create_new_frame, select_frame and
get_current_frame.
* remote-e7000.c (e7000_start_remote): Ditto.
* remote-mips.c (common_open): Ditto
* remote-rdp.c (remote_rdp_open): Ditto.
Diffstat (limited to 'gdb/remote-rdp.c')
-rw-r--r-- | gdb/remote-rdp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/remote-rdp.c b/gdb/remote-rdp.c index dd38f1d1ecc..3f956e7811b 100644 --- a/gdb/remote-rdp.c +++ b/gdb/remote-rdp.c @@ -1163,9 +1163,7 @@ remote_rdp_open (char *args, int from_tty) flush_cached_frames (); registers_changed (); stop_pc = read_pc (); - set_current_frame (create_new_frame (read_fp (), stop_pc)); - select_frame (get_current_frame ()); - print_stack_frame (deprecated_selected_frame, -1, 1); + print_stack_frame (get_selected_frame (), -1, 1); } |