From: Daniel Jacobowitz Date: Thu, 9 Oct 2003 14:34:04 +0000 (+0000) Subject: * remote-mips.c (mips_initialize): Remove unneeded call to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f317a0ca716d3a589cd8d54387167b749a01bf4;p=binutils-gdb.git * remote-mips.c (mips_initialize): Remove unneeded call to get_selected_frame. Suggested by Atsushi Nemoto . --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8acbf2a03cd..0f5deafaa01 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-10-09 Daniel Jacobowitz + + * remote-mips.c (mips_initialize): Remove unneeded call to + get_selected_frame. Suggested by Atsushi Nemoto . + 2003-10-09 Daniel Jacobowitz * dwarf2expr.c (execute_stack_op): Don't treat the frame base as diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index c9a7ddfed10..8512e444d63 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. */