This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Remove USE_PROC_FS
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 9 May 2007 01:40:13 +0200 (CEST)
- Subject: [commit] Remove USE_PROC_FS
Hello,
there is no longer any place in the tree that depends on USE_PROC_FS,
so this patch removes the remaining definitions of it.
Committed to mainline.
Bye,
Ulrich
ChangeLog:
* config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
* config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
* config/nm-linux.h (USE_PROC_FS): Do not undefine.
doc/ChangeLog:
* gdbint.texinfo (Native Conditionals): Remove USE_PROC_FS.
diff -urNp gdb-orig/gdb/config/i386/nm-i386sol2.h gdb-head/gdb/config/i386/nm-i386sol2.h
--- gdb-orig/gdb/config/i386/nm-i386sol2.h 2007-01-11 20:58:03.000000000 +0100
+++ gdb-head/gdb/config/i386/nm-i386sol2.h 2007-05-09 01:26:42.040895111 +0200
@@ -18,10 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* 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 */
#define TARGET_HAS_HARDWARE_WATCHPOINTS
diff -urNp gdb-orig/gdb/config/mips/nm-irix5.h gdb-head/gdb/config/mips/nm-irix5.h
--- gdb-orig/gdb/config/mips/nm-irix5.h 2007-04-26 00:07:35.000000000 +0200
+++ gdb-head/gdb/config/mips/nm-irix5.h 2007-05-09 01:26:08.516662026 +0200
@@ -19,10 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* SVR4 has /proc support, so use it instead of ptrace. */
-
-#define USE_PROC_FS
-
#undef IN_SOLIB_DYNSYM_RESOLVE_CODE
#define TARGET_HAS_HARDWARE_WATCHPOINTS
diff -urNp gdb-orig/gdb/config/nm-linux.h gdb-head/gdb/config/nm-linux.h
--- gdb-orig/gdb/config/nm-linux.h 2007-01-11 20:58:02.000000000 +0100
+++ gdb-head/gdb/config/nm-linux.h 2007-05-09 01:25:48.611465266 +0200
@@ -22,9 +22,6 @@
struct target_ops;
-/* GNU/Linux is SVR4-ish but its /proc file system isn't. */
-#undef USE_PROC_FS
-
extern void lin_thread_get_thread_signals (sigset_t *mask);
#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)
diff -urNp gdb-orig/gdb/doc/gdbint.texinfo gdb-head/gdb/doc/gdbint.texinfo
--- gdb-orig/gdb/doc/gdbint.texinfo 2007-04-12 16:11:56.000000000 +0200
+++ gdb-head/gdb/doc/gdbint.texinfo 2007-05-09 01:33:27.883137139 +0200
@@ -4954,12 +4954,6 @@ the shell execs, and once when the progr
number of traps is something other than 2, then define this macro to
expand into the number expected.
-@item USE_PROC_FS
-@findex USE_PROC_FS
-This determines whether small routines in @file{*-tdep.c}, which
-translate register values between @value{GDBN}'s internal
-representation and the @file{/proc} representation, are compiled.
-
@item U_REGS_OFFSET
@findex U_REGS_OFFSET
This is the offset of the registers in the upage. It need only be
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com