aboutsummaryrefslogtreecommitdiff
path: root/sim/sh64
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-03 03:44:02 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-03 04:23:10 -0500
commit61971b86bb897dc333fccffb7518056c83b99f45 (patch)
treebeeb919cc16f3b313869095a3ad18f0a5ba0280e /sim/sh64
parent34fed69938f1296b62354b2a825b49602fe7af50 (diff)
downloadgdb-61971b86bb897dc333fccffb7518056c83b99f45.zip
gdb-61971b86bb897dc333fccffb7518056c83b99f45.tar.gz
gdb-61971b86bb897dc333fccffb7518056c83b99f45.tar.bz2
sim: clean up some more device detritus
Clean up some more remains of WITH_DEVICES that escaped notice. We also clean up GETTWI/SETTWI defines in a few ports where they were copied & pasted and are unused as they happen to be near the device code.
Diffstat (limited to 'sim/sh64')
-rw-r--r--sim/sh64/ChangeLog6
-rw-r--r--sim/sh64/sh64-sim.h10
2 files changed, 6 insertions, 10 deletions
diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog
index 82a06b0..8ccee76 100644
--- a/sim/sh64/ChangeLog
+++ b/sim/sh64/ChangeLog
@@ -1,5 +1,11 @@
2016-01-03 Mike Frysinger <vapier@gentoo.org>
+ * sh64-sim.h (GETTWI, SETTWI): Delete unused defines.
+ (sh5_devices): Delete.
+ (struct _device): Delete.
+
+2016-01-03 Mike Frysinger <vapier@gentoo.org>
+
* sh64.c (count_argc): Delete.
(trap_handler): Change count_argc to countargv.
diff --git a/sim/sh64/sh64-sim.h b/sim/sh64/sh64-sim.h
index aaddfed..c4d5b6f 100644
--- a/sim/sh64/sh64-sim.h
+++ b/sim/sh64/sh64-sim.h
@@ -20,20 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef SH64_SIM_H
#define SH64_SIM_H
-#define GETTWI GETTSI
-#define SETTWI SETTSI
-
-
enum {
ISM_COMPACT, ISM_MEDIA
};
-/* Hardware/device support. */
-extern device sh5_devices;
-
-/* FIXME: Temporary, until device support ready. */
-struct _device { int foo; };
-
extern IDESC * sh64_idesc_media;
extern IDESC * sh64_idesc_compact;