From: Ulrich Weigand Date: Tue, 8 May 2007 23:39:14 +0000 (+0000) Subject: ChangeLog: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=179101d62473e2bef454631d0dffdeb6b17dfa9d;p=binutils-gdb.git 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 --git a/gdb/ChangeLog b/gdb/ChangeLog index 5860c43168c..31047247e63 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2007-05-08 Ulrich Weigand + + * 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. + 2007-05-08 Ulrich Weigand * spu-linux-nat.c: Include "gdb_stdint.h". diff --git a/gdb/config/i386/nm-i386sol2.h b/gdb/config/i386/nm-i386sol2.h index 01c83b3f61b..185d80e9842 100644 --- a/gdb/config/i386/nm-i386sol2.h +++ b/gdb/config/i386/nm-i386sol2.h @@ -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 --git a/gdb/config/mips/nm-irix5.h b/gdb/config/mips/nm-irix5.h index 6733fa52289..66b347d1a4d 100644 --- a/gdb/config/mips/nm-irix5.h +++ b/gdb/config/mips/nm-irix5.h @@ -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 --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h index 351ea7476da..6d82c3e457a 100644 --- a/gdb/config/nm-linux.h +++ b/gdb/config/nm-linux.h @@ -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 --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f281f419b08..19e7c61fd99 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2007-05-08 Ulrich Weigand + + * gdbint.texinfo (Native Conditionals): Remove USE_PROC_FS. + 2007-04-14 Vladimir Prus * gdb.texinfo (GDB/MI Variable Objects): Document diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 3df6beecd28..f6778873516 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -4954,12 +4954,6 @@ the shell execs, and once when the program itself execs. If the actual 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