aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/rs6000/tm-rs6000.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-12-16 00:59:58 +0000
committerKevin Buettner <kevinb@redhat.com>2001-12-16 00:59:58 +0000
commit2d5177f34b54d8f7abb2622ad4f6742f171d1ea7 (patch)
treefbb24a367450e570a175f8d101837b7c31c759de /gdb/config/rs6000/tm-rs6000.h
parent25b14e71cb2eb7921984c4628ea2e86932b83211 (diff)
downloadgdb-2d5177f34b54d8f7abb2622ad4f6742f171d1ea7.zip
gdb-2d5177f34b54d8f7abb2622ad4f6742f171d1ea7.tar.gz
gdb-2d5177f34b54d8f7abb2622ad4f6742f171d1ea7.tar.bz2
Conditionally include solib.h.
Diffstat (limited to 'gdb/config/rs6000/tm-rs6000.h')
-rw-r--r--gdb/config/rs6000/tm-rs6000.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h
index efd96e5..015a592 100644
--- a/gdb/config/rs6000/tm-rs6000.h
+++ b/gdb/config/rs6000/tm-rs6000.h
@@ -119,3 +119,10 @@ extern CORE_ADDR (*rs6000_find_toc_address_hook) (CORE_ADDR);
child process. */
extern void (*rs6000_set_host_arch_hook) (int);
+
+/* We need solib.h for building cross debuggers. However, we don't want
+ to clobber any special solib support required by native debuggers, so
+ only include solib.h if SOLIB_ADD is not defined. */
+#ifndef SOLIB_ADD
+#include "solib.h"
+#endif