From 638ab9a4963fc42aaae0a0fe61ae47c65c9bb807 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 30 Nov 2004 15:05:20 +0000 Subject: [PATCH] 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". --- gdb/ChangeLog | 9 +++++++++ gdb/config/i386/nm-i386sol2.h | 8 +++++++- gdb/config/i386/nm-i386v4.h | 8 +++++++- gdb/config/i386/nm-i386v42mp.h | 8 +++++++- gdb/config/ia64/nm-aix.h | 8 +++++++- gdb/config/mips/nm-irix5.h | 9 ++++++++- gdb/config/nm-sysv4.h | 28 ---------------------------- 7 files changed, 45 insertions(+), 33 deletions(-) delete mode 100644 gdb/config/nm-sysv4.h diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 15d6c8d49d..015c43c14a 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 18afa04af1..b71ee82ca9 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 821be55fc5..c565c899d5 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 5b5c7f0308..c5abdc3629 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 8a2d66f7c2..b3f6b69eb2 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 33a8a8ce92..7f9629373a 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 ca281c9295..0000000000 --- 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 -- 2.11.0