aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/nm-gnu.h5
-rw-r--r--gdb/config/nm-sysv4.h5
2 files changed, 4 insertions, 6 deletions
diff --git a/gdb/config/nm-gnu.h b/gdb/config/nm-gnu.h
index f59a2dc..b7ee4dc 100644
--- a/gdb/config/nm-gnu.h
+++ b/gdb/config/nm-gnu.h
@@ -1,6 +1,6 @@
/* Common declarations for the GNU Hurd
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1998 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -25,8 +25,6 @@
#include <mach.h>
#include <mach/exception.h>
-#include "solib.h" /* Support for shared libraries. */
-
#undef target_pid_to_str
#define target_pid_to_str(pid) gnu_target_pid_to_str(pid)
extern char *gnu_target_pid_to_str (int pid);
@@ -39,6 +37,7 @@ extern char *gnu_target_pid_to_str (int pid);
/* Use SVR4 style shared library support */
#define SVR4_SHARED_LIBS
+#include "solib.h"
#define NO_CORE_OPS
#define MAINTENANCE_CMDS 1
diff --git a/gdb/config/nm-sysv4.h b/gdb/config/nm-sysv4.h
index e4978d0..b891d4d 100644
--- a/gdb/config/nm-sysv4.h
+++ b/gdb/config/nm-sysv4.h
@@ -1,5 +1,5 @@
/* Definitions for running gdb on a host machine running any flavor of SVR4.
- Copyright 1991, 1992 Free Software Foundation, Inc.
+ Copyright 1991, 1992, 1998 Free Software Foundation, Inc.
Written by Fred Fish at Cygnus Support (fnf@cygnus.com).
This file is part of GDB.
@@ -18,11 +18,10 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include "solib.h" /* Support for shared libraries. */
-
/* Use SVR4 style shared library support */
#define SVR4_SHARED_LIBS
+#include "solib.h"
/* SVR4 has /proc support, so use it instead of ptrace. */