From: Kevin Buettner Date: Sun, 16 Dec 2001 00:59:58 +0000 (+0000) Subject: Conditionally include solib.h. X-Git-Tag: cygnus_cvs_20020108_pre~252 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d5177f34b54d8f7abb2622ad4f6742f171d1ea7;p=thirdparty%2Fbinutils-gdb.git Conditionally include solib.h. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 367df172b02..f7b7753b0de 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-12-15 Kevin Buettner + + * config/rs6000/tm-rs6000.h (solib.h): Conditionally include. + 2001-12-15 Andrew Cagney * gdbarch.c: Re-generate. diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h index efd96e598e2..015a5928b6f 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