summaryrefslogtreecommitdiff
path: root/gdb/config/pa/tm-hppah.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/pa/tm-hppah.h')
-rw-r--r--gdb/config/pa/tm-hppah.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/config/pa/tm-hppah.h b/gdb/config/pa/tm-hppah.h
index d6906bf0925..8014aa9679b 100644
--- a/gdb/config/pa/tm-hppah.h
+++ b/gdb/config/pa/tm-hppah.h
@@ -24,7 +24,17 @@
#define HPUX_SNAP1
#define HPUX_SNAP2
+/* The solib hooks are not really designed to have a list of hook
+ and handler routines. So until we clean up those interfaces you
+ either get SOM shared libraries or HP's unusual PA64 ELF shared
+ libraries, but not both. */
+#ifdef GDB_TARGET_IS_HPPA_20W
+#include "pa64solib.h"
+#endif
+
+#ifndef GDB_TARGET_IS_HPPA_20W
#include "somsolib.h"
+#endif
/* Actually, for a PA running HPUX the kernel calls the signal handler
without an intermediate trampoline. Luckily the kernel always sets