aboutsummaryrefslogtreecommitdiff
path: root/sim/frv
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/frv
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/frv')
-rw-r--r--sim/frv/ChangeLog4
-rw-r--r--sim/frv/tconfig.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index 5137111..4f0dd8f 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/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.c [SIM_HAVE_BREAKPOINTS] (frv_itrap): Delete sim breakpoint
diff --git a/sim/frv/tconfig.h b/sim/frv/tconfig.h
index f0de19a..044cfb0 100644
--- a/sim/frv/tconfig.h
+++ b/sim/frv/tconfig.h
@@ -1,8 +1,5 @@
/* FRV target configuration file. -*- C -*- */
-/* See sim-hload.c. We properly handle LMA. -- TODO: check this */
-#define SIM_HANDLES_LMA 1
-
/* For MSPR support. FIXME: revisit. */
#define WITH_DEVICES 1