From: Mike Frysinger Date: Mon, 23 Mar 2015 02:45:47 +0000 (-0400) Subject: sim: m32r: drop duplicate dv_sockser_install call X-Git-Tag: gdb-7.10-release~1168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe83b8a8d369e28dcfab42ee9f4b6d9cef3370c0;p=external%2Fbinutils.git 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. --- diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index 530e768..96a3705 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,5 +1,9 @@ 2015-03-24 Mike Frysinger + * sim-if.c (sim_open): Delete dv_sockser_install call. + +2015-03-24 Mike Frysinger + * configure: Regenerate. 2015-03-24 Mike Frysinger diff --git a/sim/m32r/sim-if.c b/sim/m32r/sim-if.c index 9385ccc..d01bc0a 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