aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1998-04-02 06:04:17 +0000
committerMark Alexander <marka@cygnus>1998-04-02 06:04:17 +0000
commitc8b7788793737ea272a34be99f9e9c75a120c64e (patch)
tree6715e7b6b9d8634227aa56fa02807c34f8655960 /gdb/config/sparc
parent725fc5d927e599b2a7785e2318cf3012e2c98ee0 (diff)
downloadgdb-c8b7788793737ea272a34be99f9e9c75a120c64e.zip
gdb-c8b7788793737ea272a34be99f9e9c75a120c64e.tar.gz
gdb-c8b7788793737ea272a34be99f9e9c75a120c64e.tar.bz2
* config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
* config/sparc/sparclite.mt: Link in the erc32 simulator.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r--gdb/config/sparc/sparclite.mt2
-rw-r--r--gdb/config/sparc/tm-sparclite.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/sparc/sparclite.mt b/gdb/config/sparc/sparclite.mt
index a6db656..43cb38c 100644
--- a/gdb/config/sparc/sparclite.mt
+++ b/gdb/config/sparc/sparclite.mt
@@ -1,3 +1,5 @@
# Target: Fujitsu SPARClite processor
TDEPFILES= sparc-tdep.o sparcl-tdep.o
TM_FILE= tm-sparclite.h
+SIM_OBS = remote-sim.o
+SIM = ../sim/erc32/libsim.a
diff --git a/gdb/config/sparc/tm-sparclite.h b/gdb/config/sparc/tm-sparclite.h
index b7da03a..525d15f 100644
--- a/gdb/config/sparc/tm-sparclite.h
+++ b/gdb/config/sparc/tm-sparclite.h
@@ -21,6 +21,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "sparc/tm-sparc.h"
+/* overrides of tm-sparc.h */
+
+#undef TARGET_BYTE_ORDER
+#define TARGET_BYTE_ORDER_SELECTABLE
+
/* Select the sparclite disassembler. Slightly different instruction set from
the V8 sparc. */