diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-22 22:45:47 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-24 00:26:31 -0400 |
commit | fe83b8a8d369e28dcfab42ee9f4b6d9cef3370c0 (patch) | |
tree | a0b35e2178f02d9b1b43ad60d481cf810439b179 /sim/m32r | |
parent | sim: Revert "Fix frv/iq2000/m32r/sh64 sim, default hardware to off." (diff) | |
download | binutils-gdb-fe83b8a8d369e28dcfab42ee9f4b6d9cef3370c0.tar.gz binutils-gdb-fe83b8a8d369e28dcfab42ee9f4b6d9cef3370c0.tar.bz2 binutils-gdb-fe83b8a8d369e28dcfab42ee9f4b6d9cef3370c0.zip |
sim: m32r: drop duplicate dv_sockser_install call
Since sim_module_install takes care of this for us, there's no need
to initialize the module twice.
Diffstat (limited to 'sim/m32r')
-rw-r--r-- | sim/m32r/ChangeLog | 4 | ||||
-rw-r--r-- | sim/m32r/sim-if.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index 530e7689456..96a37057000 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,5 +1,9 @@ 2015-03-24 Mike Frysinger <vapier@gentoo.org> + * sim-if.c (sim_open): Delete dv_sockser_install call. + +2015-03-24 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. 2015-03-24 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/m32r/sim-if.c b/sim/m32r/sim-if.c index 9385ccccd6d..d01bc0a5573 100644 --- a/sim/m32r/sim-if.c +++ b/sim/m32r/sim-if.c @@ -86,14 +86,6 @@ sim_open (kind, callback, abfd, argv) return 0; } -#ifdef HAVE_DV_SOCKSER /* FIXME: was done differently before */ - if (dv_sockser_install (sd) != SIM_RC_OK) - { - free_state (sd); - return 0; - } -#endif - #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 |