aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sparc.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-sparc.h
parentd41d2ccc635248fc59dcfa0fedb01249f9bf26c1 (diff)
downloadgdb-89e673a481dc6d7003dc332afabaf4a3e4d96a66.zip
gdb-89e673a481dc6d7003dc332afabaf4a3e4d96a66.tar.gz
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-sparc.h')
-rw-r--r--gdb/config/sparc/tm-sparc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index b85602f..cec159d 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -110,7 +110,7 @@ extern CORE_ADDR sparc_pc_adjust PARAMS ((CORE_ADDR));
#define STACK_ALIGN(ADDR) (((ADDR)+7)&-8)
-/* Sequence of bytes for breakpoint instruction. */
+/* Sequence of bytes for breakpoint instruction (ta 1). */
#define BREAKPOINT {0x91, 0xd0, 0x20, 0x01}
@@ -641,3 +641,7 @@ extern int deferred_stores;
passed as doubles and then converted in the callee. */
#define COERCE_FLOAT_TO_DOUBLE 1
+
+/* Select the sparc disassembler */
+
+#define TM_PRINT_INSN print_insn_sparc