diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-11-30 15:05:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-11-30 15:05:20 +0000 |
commit | 80b93d6b1a619c5d81aeceaeb6794a16a0101442 (patch) | |
tree | f4b91e5ecf1ddcc4fd549b92c5d320c4f63ef861 | |
parent | c87368acf26d439574f58d1ee586dd84dc9b86f2 (diff) | |
download | gdb-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".
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/config/i386/nm-i386sol2.h | 8 | ||||
-rw-r--r-- | gdb/config/i386/nm-i386v4.h | 8 | ||||
-rw-r--r-- | gdb/config/i386/nm-i386v42mp.h | 8 | ||||
-rw-r--r-- | gdb/config/ia64/nm-aix.h | 8 | ||||
-rw-r--r-- | gdb/config/mips/nm-irix5.h | 9 | ||||
-rw-r--r-- | gdb/config/nm-sysv4.h | 28 |
7 files changed, 45 insertions, 33 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 15d6c8d..015c43c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +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". + 2004-11-29 Andrew Cagney <cagney@gnu.org> * 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 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) */ diff --git a/gdb/config/ia64/nm-aix.h b/gdb/config/ia64/nm-aix.h index 8a2d66f..b3f6b69 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 33a8a8c..7f96293 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 ca281c9..0000000 --- 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 |