aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-24 16:41:55 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-24 19:52:13 -0500
commit3cabaf66d6ec7343bd3badc5c44c2ddd06221913 (patch)
tree10cde4cd72ab382a3f744b5b05da6d571cb55ac9 /sim/mips
parentb1af947345ccba81244d3370756d0047d3bc8b6e (diff)
downloadgdb-3cabaf66d6ec7343bd3badc5c44c2ddd06221913.zip
gdb-3cabaf66d6ec7343bd3badc5c44c2ddd06221913.tar.gz
gdb-3cabaf66d6ec7343bd3badc5c44c2ddd06221913.tar.bz2
sim: delete SIM_HAVE_FLATMEM support
No target has used this, and it's a cheap hack in place in using the common memory module. We want everyone using that though, so drop support for flatmem entirely.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index b48f69f..34ab06d 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,9 @@
2015-12-24 Mike Frysinger <vapier@gentoo.org>
+ * interp.c [SIM_HAVE_FLATMEM] (sim_open): Delete flatmem code.
+
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
* tconfig.h (SIM_HAVE_SIMCACHE): Delete.
2015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index 8a584d3..524f5be 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -399,9 +399,6 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb, struct bfd *abfd, char **argv)
/* Look for largest memory region defined on command-line at
phys address 0. */
-#ifdef SIM_HAVE_FLATMEM
- mem_size = STATE_MEM_SIZE (sd);
-#endif
for (entry = STATE_MEMOPT (sd); entry != NULL; entry = entry->next)
{
/* If we find an entry at address 0, then we will end up