aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-11-30 15:05:20 +0000
committerAndrew Cagney <cagney@redhat.com>2004-11-30 15:05:20 +0000
commit80b93d6b1a619c5d81aeceaeb6794a16a0101442 (patch)
treef4b91e5ecf1ddcc4fd549b92c5d320c4f63ef861 /gdb/config/i386
parentc87368acf26d439574f58d1ee586dd84dc9b86f2 (diff)
downloadgdb-80b93d6b1a619c5d81aeceaeb6794a16a0101442.zip
gdb-80b93d6b1a619c5d81aeceaeb6794a16a0101442.tar.gz
gdb-80b93d6b1a619c5d81aeceaeb6794a16a0101442.tar.bz2
2004-11-30 Andrew Cagney <cagney@gnu.org>
* config/nm-sysv4.h: Delete file. * config/i386/nm-i386v4.h: Inline "config/nm-sysv4.h". * config/i386/nm-i386v42mp.h: Inline "config/nm-sysv4.h". * config/i386/nm-i386sol2.h: Inline "config/nm-sysv4.h". * config/ia64/nm-aix.h: Inline "config/nm-sysv4.h". * config/mips/nm-irix5.h: Inline "config/nm-sysv4.h".
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/nm-i386sol2.h8
-rw-r--r--gdb/config/i386/nm-i386v4.h8
-rw-r--r--gdb/config/i386/nm-i386v42mp.h8
3 files changed, 21 insertions, 3 deletions
diff --git a/gdb/config/i386/nm-i386sol2.h b/gdb/config/i386/nm-i386sol2.h
index 18afa04..b71ee82 100644
--- a/gdb/config/i386/nm-i386sol2.h
+++ b/gdb/config/i386/nm-i386sol2.h
@@ -18,7 +18,13 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "config/nm-sysv4.h"
+/* Use SVR4 style shared library support */
+
+#include "solib.h"
+
+/* SVR4 has /proc support, so use it instead of ptrace. */
+
+#define USE_PROC_FS
#ifdef NEW_PROC_API /* Solaris 6 and above can do HW watchpoints */
diff --git a/gdb/config/i386/nm-i386v4.h b/gdb/config/i386/nm-i386v4.h
index 821be55..c565c89 100644
--- a/gdb/config/i386/nm-i386v4.h
+++ b/gdb/config/i386/nm-i386v4.h
@@ -20,7 +20,13 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "config/nm-sysv4.h"
+/* Use SVR4 style shared library support */
+
+#include "solib.h"
+
+/* SVR4 has /proc support, so use it instead of ptrace. */
+
+#define USE_PROC_FS
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
diff --git a/gdb/config/i386/nm-i386v42mp.h b/gdb/config/i386/nm-i386v42mp.h
index 5b5c7f0..c5abdc3 100644
--- a/gdb/config/i386/nm-i386v42mp.h
+++ b/gdb/config/i386/nm-i386v42mp.h
@@ -23,7 +23,13 @@
#ifndef NM_I386V42MP_H
#define NM_I386V42MP_H
-#include "config/nm-sysv4.h"
+/* Use SVR4 style shared library support */
+
+#include "solib.h"
+
+/* SVR4 has /proc support, so use it instead of ptrace. */
+
+#define USE_PROC_FS
/* define to select for other sysv4.2mp weirdness (see procfs.c) */