This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] sim: delete SIM_HAVE_MEM_SIZE [committed]
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 24 Dec 2015 19:41:32 -0500
- Subject: [PATCH] sim: delete SIM_HAVE_MEM_SIZE [committed]
- Authentication-results: sourceware.org; auth=none
This define isn't used anywhere (doesn't seem to ever have been used by
versions committed), so delete the commented out code as it's dead.
---
sim/frv/ChangeLog | 4 ++++
sim/frv/tconfig.h | 7 -------
sim/iq2000/ChangeLog | 4 ++++
sim/iq2000/tconfig.h | 7 -------
sim/m32r/ChangeLog | 4 ++++
sim/m32r/tconfig.h | 7 -------
sim/sh64/ChangeLog | 4 ++++
sim/sh64/tconfig.h | 7 -------
8 files changed, 16 insertions(+), 28 deletions(-)
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index b539c17..3ce4963 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
+
2015-11-15 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
diff --git a/sim/frv/tconfig.h b/sim/frv/tconfig.h
index b31043c..370cacc 100644
--- a/sim/frv/tconfig.h
+++ b/sim/frv/tconfig.h
@@ -1,12 +1,5 @@
/* FRV target configuration file. -*- C -*- */
-/* Define this if the simulator can vary the size of memory.
- See the xxx simulator for an example.
- This enables the `-m size' option.
- The memory size is stored in STATE_MEM_SIZE. */
-/* Not used for FRV since we use the memory module. TODO -- check this */
-/* #define SIM_HAVE_MEM_SIZE */
-
/* See sim-hload.c. We properly handle LMA. -- TODO: check this */
#define SIM_HANDLES_LMA 1
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog
index c52689a..df477d2 100644
--- a/sim/iq2000/ChangeLog
+++ b/sim/iq2000/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
+
2015-11-15 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
diff --git a/sim/iq2000/tconfig.h b/sim/iq2000/tconfig.h
index 0081bb43..4e4978d 100644
--- a/sim/iq2000/tconfig.h
+++ b/sim/iq2000/tconfig.h
@@ -1,12 +1,5 @@
/* IQ2000 target configuration file. -*- C -*- */
-/* Define this if the simulator can vary the size of memory.
- See the xxx simulator for an example.
- This enables the `-m size' option.
- The memory size is stored in STATE_MEM_SIZE. */
-/* Not used for IQ2000 since we use the memory module. TODO -- check this */
-/* #define SIM_HAVE_MEM_SIZE */
-
/* See sim-hload.c. We properly handle LMA. -- TODO: check this */
#define SIM_HANDLES_LMA 1
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 769d2ab..ac2efcb 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
+
2015-11-15 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
diff --git a/sim/m32r/tconfig.h b/sim/m32r/tconfig.h
index a5c55d5..e06d2cf 100644
--- a/sim/m32r/tconfig.h
+++ b/sim/m32r/tconfig.h
@@ -3,13 +3,6 @@
#ifndef M32R_TCONFIG_H
#define M32R_TCONFIG_H
-/* Define this if the simulator can vary the size of memory.
- See the xxx simulator for an example.
- This enables the `-m size' option.
- The memory size is stored in STATE_MEM_SIZE. */
-/* Not used for M32R since we use the memory module. */
-/* #define SIM_HAVE_MEM_SIZE */
-
/* See sim-hload.c. We properly handle LMA. */
#define SIM_HANDLES_LMA 1
diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog
index 454bfdc..f4c6aa4 100644
--- a/sim/sh64/ChangeLog
+++ b/sim/sh64/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
+
2015-11-15 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
diff --git a/sim/sh64/tconfig.h b/sim/sh64/tconfig.h
index dbcf232..4b700ae 100644
--- a/sim/sh64/tconfig.h
+++ b/sim/sh64/tconfig.h
@@ -1,12 +1,5 @@
/* SH64 target configuration file. -*- C -*- */
-/* Define this if the simulator can vary the size of memory.
- See the xxx simulator for an example.
- This enables the `-m size' option.
- The memory size is stored in STATE_MEM_SIZE. */
-/* Not used for SH64 since we use the memory module. TODO -- check this */
-/* #define SIM_HAVE_MEM_SIZE */
-
/* See sim-hload.c. We properly handle LMA. -- TODO: check this */
#define SIM_HANDLES_LMA 1
--
2.6.2