From: Daniel Jacobowitz Date: Thu, 9 Oct 2003 14:34:53 +0000 (+0000) Subject: * remote-mips.c (mips_initialize): Remove unneeded call to X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb912353ceca11fa86baa33c528c5c0625f9e925;p=thirdparty%2Fbinutils-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 a52f1b4df30..d1683d63f93 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 Merge from mainline: diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 96f39728f54..af74da23536 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. */