From: J.T. Conklin Date: Wed, 24 Aug 1994 00:58:42 +0000 (+0000) Subject: * nlm/gdbserve.c: conditionalize header file inclusion for either X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86165efce578a0e5a8c8265a8e668498fab318ea;p=binutils-gdb.git * nlm/gdbserve.c: conditionalize header file inclusion for either NetWare 4.0 or PIN targets. * nlm/i386.c: include appropriate header files. * nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0 targets. --- diff --git a/gdb/nlm/gdbserve.c b/gdb/nlm/gdbserve.c index 31a0c6e8524..9eecc70e1f0 100644 --- a/gdb/nlm/gdbserve.c +++ b/gdb/nlm/gdbserve.c @@ -66,19 +66,30 @@ * ****************************************************************************/ -#include #include #include #include #include +#include + +#if defined(__netware__) && defined(__i386__) +#include +#include +#include +#include +#include +#else +#include #include #include #include -#include #include +#endif #include + #include "cpu.h" + /****************************************************/ /* This information is from Novell. It is not in any of the standard NetWare header files. */ diff --git a/gdb/nlm/i386.c b/gdb/nlm/i386.c index 68132ce28a8..a9333fb6652 100644 --- a/gdb/nlm/i386.c +++ b/gdb/nlm/i386.c @@ -1,3 +1,14 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "i386.h" /* Get the registers out of the frame information. */ diff --git a/gdb/nlm/prelude.c b/gdb/nlm/prelude.c index e3207c26093..37e12c89a2b 100644 --- a/gdb/nlm/prelude.c +++ b/gdb/nlm/prelude.c @@ -12,9 +12,14 @@ = be distributed with CLib.NLM and its headers. ============================================================================== */ + +#include +#if defined(__netware__) && defined(__i386__) +#define TERMINATE_BY_UNLOAD 5 +#else #include +#endif /*#include "libhooks.h"*/ -#include extern int main (int, char **);