diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-15 02:55:08 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-15 03:05:05 -0400 |
commit | 8406bb5944940a8830b37b97584dda3208a3d07d (patch) | |
tree | 9fed3d4c5c3ca932b0fc4955a965bf38ea3dd447 /sim/bfin | |
parent | b19839da382a4755e91d0a943b6d89d13fd74972 (diff) | |
download | gdb-8406bb5944940a8830b37b97584dda3208a3d07d.zip gdb-8406bb5944940a8830b37b97584dda3208a3d07d.tar.gz gdb-8406bb5944940a8830b37b97584dda3208a3d07d.tar.bz2 |
sim: dv-sockser: push module init prototype down
Pull out the duplicated dv_sockser_install prototype from the tconfig.in
files and put it in the one place it gets used -- sim-module.c. This is
still arguably incorrect, but it's better than the status quo where the
tconfig.in has to include header files and duplicate the dv-sockser func.
The tconfig header is meant to be simple and contain a target defines.
Diffstat (limited to 'sim/bfin')
-rw-r--r-- | sim/bfin/ChangeLog | 5 | ||||
-rw-r--r-- | sim/bfin/tconfig.in | 12 |
2 files changed, 5 insertions, 12 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index ee5f81c..4e2077d 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,8 @@ +2015-03-15 Mike Frysinger <vapier@gentoo.org> + + * tconfig.in: Delete includes. + [HAVE_DV_SOCKSER]: Delete. + 2015-03-14 Mike Frysinger <vapier@gentoo.org> * bfin-sim.c (decode_dsp32alu_0): Change v to bu32. diff --git a/sim/bfin/tconfig.in b/sim/bfin/tconfig.in index 130707a..d28fd8d 100644 --- a/sim/bfin/tconfig.in +++ b/sim/bfin/tconfig.in @@ -7,18 +7,6 @@ Common sim core by default sets hw_system_cpu to NULL for WITH_HW. */ #define WITH_DEVICES 1 -/* FIXME: This is unnecessarily necessary: */ -#include "ansidecl.h" -#include "gdb/callback.h" -#include "gdb/remote-sim.h" -#include "sim-module.h" - -/* FIXME: Revisit. */ -#ifdef HAVE_DV_SOCKSER -MODULE_INSTALL_FN dv_sockser_install; -#define MODULE_LIST dv_sockser_install, -#endif - /* ??? Temporary hack until model support unified. */ #define SIM_HAVE_MODEL |