aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1998-01-30 20:33:43 +0000
committerDavid Taylor <taylor@redhat.com>1998-01-30 20:33:43 +0000
commit7d0a3fc844cdaea1e8c164cefc35f912c11e845a (patch)
tree2bc52d5db8fe9e58a72b2d3be06cf1568be7ca3a /gdb/config
parentcd9a4eec4909803230a07b939087e64a24cb5fee (diff)
downloadgdb-7d0a3fc844cdaea1e8c164cefc35f912c11e845a.zip
gdb-7d0a3fc844cdaea1e8c164cefc35f912c11e845a.tar.gz
gdb-7d0a3fc844cdaea1e8c164cefc35f912c11e845a.tar.bz2
Changes by Peter.Schauer to fix gdb/13521 -- gdb step command fails to step
from a function in one dynamically linked library into a function in another dynamically linked library.
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. */