diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-10-09 14:34:04 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-10-09 14:34:04 +0000 |
commit | 0f317a0ca716d3a589cd8d54387167b749a01bf4 (patch) | |
tree | 19e1e7e92a5e5cc9c6f38e43fafba027b1ac0b16 | |
parent | bbab2f465b71112fd04020016f112807cca68fbc (diff) | |
download | gdb-0f317a0ca716d3a589cd8d54387167b749a01bf4.zip gdb-0f317a0ca716d3a589cd8d54387167b749a01bf4.tar.gz gdb-0f317a0ca716d3a589cd8d54387167b749a01bf4.tar.bz2 |
* remote-mips.c (mips_initialize): Remove unneeded call to
get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote-mips.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8acbf2a..0f5deaf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2003-10-09 Daniel Jacobowitz <drow@mvista.com> + * remote-mips.c (mips_initialize): Remove unneeded call to + get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. + +2003-10-09 Daniel Jacobowitz <drow@mvista.com> + * dwarf2expr.c (execute_stack_op): Don't treat the frame base as a memory pointer. diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index c9a7ddf..8512e444 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1494,10 +1494,6 @@ mips_initialize (void) the request itself succeeds or fails. */ mips_request ('r', 0, 0, &err, mips_receive_wait, NULL); - /* FIXME: cagney/2002-11-29: Force the update of selected frame. - This shouldn't be necessary, only many many places still refer to - selected_frame directly (instead of using get_selected_frame(). */ - get_selected_frame (); /* Hack!!! */ } /* Open a connection to the remote board. */ |