aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-02 10:29:51 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-02 10:39:13 -0500
commit027e73b217ec5ed334015b5484ff8d281258b6bb (patch)
tree4d0ff236e049881dadee3709bbf224fec2f4b580 /sim/m32r
parentd47f5b30d8481272e9480118bdcb283690070349 (diff)
downloadgdb-027e73b217ec5ed334015b5484ff8d281258b6bb.zip
gdb-027e73b217ec5ed334015b5484ff8d281258b6bb.tar.gz
gdb-027e73b217ec5ed334015b5484ff8d281258b6bb.tar.bz2
sim: iq2000/m32r/lm32/sh64: delete dead option code
The iq2000/m32r/sh64 option parsing logic appears to have always been dead. At least iq2000/sh64 are simply copy & paste rot from m32r. The lm32 option parsing hack here hasn't been needed for a while -- this was fixed back in commit 11409fac6b95d71a92848a4499b02d60a4f4c5bb in the common code.
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/ChangeLog4
-rw-r--r--sim/m32r/sim-if.c8
2 files changed, 4 insertions, 8 deletions
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 5b3d70e..8b65bb9 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,5 +1,9 @@
2016-01-02 Mike Frysinger <vapier@gentoo.org>
+ * sim-if.c (sim_open): Delete #if 0 sim_add_option_table call.
+
+2016-01-02 Mike Frysinger <vapier@gentoo.org>
+
* sim-if.c (current_state): Delete.
(sim_open): Delete current_state assignment.
diff --git a/sim/m32r/sim-if.c b/sim/m32r/sim-if.c
index 2ed6934..2777f61 100644
--- a/sim/m32r/sim-if.c
+++ b/sim/m32r/sim-if.c
@@ -84,14 +84,6 @@ sim_open (kind, callback, abfd, argv)
return 0;
}
-#if 0 /* FIXME: 'twould be nice if we could do this */
- /* These options override any module options.
- Obviously ambiguity should be avoided, however the caller may wish to
- augment the meaning of an option. */
- if (extra_options != NULL)
- sim_add_option_table (sd, extra_options);
-#endif
-
/* getopt will print the error message so we just have to exit if this fails.
FIXME: Hmmm... in the case of gdb we need getopt to call
print_filtered. */