aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
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/sparc-tdep.c
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/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 98ec9e2..2ce7a10 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -1548,5 +1548,5 @@ sparc_print_register_hook (regno)
void
_initialize_sparc_tdep ()
{
- tm_print_insn = print_insn_sparc;
+ tm_print_insn = TM_PRINT_INSN; /* Selects sparc/sparclite */
}