aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sparclite.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-07-04 00:49:25 +0000
committerStu Grossman <grossman@cygnus>1996-07-04 00:49:25 +0000
commit89e673a481dc6d7003dc332afabaf4a3e4d96a66 (patch)
tree9d9cd5e011116ec66f59c2238131a51da99870d3 /gdb/config/sparc/tm-sparclite.h
parentd41d2ccc635248fc59dcfa0fedb01249f9bf26c1 (diff)
downloadfsf-binutils-gdb-89e673a481dc6d7003dc332afabaf4a3e4d96a66.zip
fsf-binutils-gdb-89e673a481dc6d7003dc332afabaf4a3e4d96a66.tar.gz
fsf-binutils-gdb-89e673a481dc6d7003dc332afabaf4a3e4d96a66.tar.bz2
* sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
config/sparc/tm-sparclite.h: Initialize tm_print_insn from TM_PRINT_INSN, which comes from the tm file. * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. * configure configure.in: Only make sol-thread.o for native. Also, switch to dlopened libthread_db.so.1. * sol-thread.c: Switch to using dlopen to get the thread_db library. * configure, configure.in: Change test for libthread_db to only work for configs where build/host/target are the same.
Diffstat (limited to 'gdb/config/sparc/tm-sparclite.h')
-rw-r--r--gdb/config/sparc/tm-sparclite.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sparclite.h b/gdb/config/sparc/tm-sparclite.h
index eb84b0c..85fd584 100644
--- a/gdb/config/sparc/tm-sparclite.h
+++ b/gdb/config/sparc/tm-sparclite.h
@@ -21,6 +21,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "sparc/tm-sparc.h"
+/* Select the sparclite disassembler. Slightly different instruction set from
+ the V8 sparc. */
+
+#undef TM_PRINT_INSN
+#define TM_PRINT_INSN print_insn_sparclite
+
/* Amount PC must be decremented by after a hardware instruction breakpoint.
This is often the number of bytes in BREAKPOINT
but not always. */