summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-10-09 14:34:04 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-10-09 14:34:04 +0000
commit917920b82c53ec49a6c42e74b27769e0b40b2cc1 (patch)
tree4b33ea3eb9175f68317b680f2f434cf000c22470 /gdb
parentd8e84261806a9b4b70a2ed53b5ab886f727f499d (diff)
downloadgdb-917920b82c53ec49a6c42e74b27769e0b40b2cc1.tar.gz
* remote-mips.c (mips_initialize): Remove unneeded call to
get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-mips.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8acbf2a03cd..0f5deafaa01 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 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. */