diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-12-16 00:59:58 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-12-16 00:59:58 +0000 |
commit | 2d5177f34b54d8f7abb2622ad4f6742f171d1ea7 (patch) | |
tree | fbb24a367450e570a175f8d101837b7c31c759de /gdb | |
parent | 25b14e71cb2eb7921984c4628ea2e86932b83211 (diff) | |
download | gdb-2d5177f34b54d8f7abb2622ad4f6742f171d1ea7.zip gdb-2d5177f34b54d8f7abb2622ad4f6742f171d1ea7.tar.gz gdb-2d5177f34b54d8f7abb2622ad4f6742f171d1ea7.tar.bz2 |
Conditionally include solib.h.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/config/rs6000/tm-rs6000.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 367df17..f7b7753 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-12-15 Kevin Buettner <kevinb@redhat.com> + + * config/rs6000/tm-rs6000.h (solib.h): Conditionally include. + 2001-12-15 Andrew Cagney <ac131313@redhat.com> * gdbarch.c: Re-generate. 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 |