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 | 3bb4004d7327e614d05cb83d61749162a9a3a655 (patch) | |
tree | 4ad6ce92f32da95eebaf2dd9970811aacbd2cd6f /gdb/config/rs6000 | |
parent | cbf4591a57e361d087185a90aa1d12227024ffbc (diff) | |
download | gdb-3bb4004d7327e614d05cb83d61749162a9a3a655.tar.gz |
Conditionally include solib.h.
Diffstat (limited to 'gdb/config/rs6000')
-rw-r--r-- | gdb/config/rs6000/tm-rs6000.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |