From: Andrew Cagney Date: Tue, 30 Nov 2004 15:05:20 +0000 (+0000) Subject: 2004-11-30 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80b93d6b1a619c5d81aeceaeb6794a16a0101442;p=binutils-gdb.git 2004-11-30 Andrew Cagney * 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". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 15d6c8d49dc..015c43c14ab 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2004-11-30 Andrew Cagney + + * 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". + 2004-11-29 Andrew Cagney * MAINTAINERS: Add Randolph Chung (pa), Jeff Johnston (ia64), Kei diff --git a/gdb/config/i386/nm-i386sol2.h b/gdb/config/i386/nm-i386sol2.h index 18afa04af1e..b71ee82ca91 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 821be55fc55..c565c899d59 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 5b5c7f0308d..c5abdc3629c 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) */ diff --git a/gdb/config/ia64/nm-aix.h b/gdb/config/ia64/nm-aix.h index 8a2d66f7c28..b3f6b69eb2d 100644 --- a/gdb/config/ia64/nm-aix.h +++ b/gdb/config/ia64/nm-aix.h @@ -21,7 +21,13 @@ #ifndef NM_AIX_H #define NM_AIX_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 #ifndef AIX5 #define AIX5 1 diff --git a/gdb/config/mips/nm-irix5.h b/gdb/config/mips/nm-irix5.h index 33a8a8ce924..7f9629373a9 100644 --- a/gdb/config/mips/nm-irix5.h +++ b/gdb/config/mips/nm-irix5.h @@ -19,7 +19,14 @@ 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 + #undef IN_SOLIB_DYNSYM_RESOLVE_CODE #define TARGET_HAS_HARDWARE_WATCHPOINTS diff --git a/gdb/config/nm-sysv4.h b/gdb/config/nm-sysv4.h deleted file mode 100644 index ca281c92950..00000000000 --- a/gdb/config/nm-sysv4.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Definitions for running gdb on a host machine running any flavor of SVR4. - Copyright 1991, 1992, 1993, 1998 Free Software Foundation, Inc. - Written by Fred Fish at Cygnus Support (fnf@cygnus.com). - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - 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. */ - -/* Use SVR4 style shared library support */ - -#include "solib.h" - -/* SVR4 has /proc support, so use it instead of ptrace. */ - -#define USE_PROC_FS