aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-24 21:36:09 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-24 21:50:17 -0500
commit269362117d399d9d86b7e565e7cb827500fac31c (patch)
treefaca7a3eacceb694bdf29fcf1acaf08de23cccad /sim/m32r
parent9db2b719087eb42cfb31018fe87657243f6185c9 (diff)
downloadgdb-269362117d399d9d86b7e565e7cb827500fac31c.zip
gdb-269362117d399d9d86b7e565e7cb827500fac31c.tar.gz
gdb-269362117d399d9d86b7e565e7cb827500fac31c.tar.bz2
sim: make LMA loading the default for all targets
Most targets already default to loading code via their LMA, but for a few, this means the default changes from loading VMA to LMA. It's better to have the different targets be consistent, and allows some code clean up.
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/ChangeLog4
-rw-r--r--sim/m32r/tconfig.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 616fb2a..f81e61b 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,5 +1,9 @@
2015-12-24 Mike Frysinger <vapier@gentoo.org>
+ * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
* tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
SIM_BREAKPOINT_SIZE): Delete.
* traps-linux.c [SIM_HAVE_BREAKPOINTS] (m32r_trap): Delete sim
diff --git a/sim/m32r/tconfig.h b/sim/m32r/tconfig.h
index 72a7f68..0a43607 100644
--- a/sim/m32r/tconfig.h
+++ b/sim/m32r/tconfig.h
@@ -3,9 +3,6 @@
#ifndef M32R_TCONFIG_H
#define M32R_TCONFIG_H
-/* See sim-hload.c. We properly handle LMA. */
-#define SIM_HANDLES_LMA 1
-
/* For MSPR support. FIXME: revisit. */
#define WITH_DEVICES 1