* remote-mips.c (mips_initialize): Remove unneeded call to
authorDaniel Jacobowitz <drow@false.org>
Thu, 9 Oct 2003 14:34:04 +0000 (14:34 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 9 Oct 2003 14:34:04 +0000 (14:34 +0000)
get_selected_frame.  Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.

gdb/ChangeLog
gdb/remote-mips.c

index 8acbf2a..0f5deaf 100644 (file)
@@ -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.
 
index c9a7ddf..8512e44 100644 (file)
@@ -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.  */