diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-24 22:56:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-24 22:56:08 +0000 |
commit | 923620278bebe7f7169dfbefda6cbbabb739809f (patch) | |
tree | 9b3daeaa47a861cbf312a81470c6d580d42673ff | |
parent | ca557f44a0548248b83712ade658eefe9c976923 (diff) | |
download | binutils-gdb-923620278bebe7f7169dfbefda6cbbabb739809f.tar.gz |
s/Linux/.../
Fix PR gdb/378.
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/config/alpha/nm-linux.h | 11 | ||||
-rw-r--r-- | gdb/config/alpha/tm-alpha.h | 7 | ||||
-rw-r--r-- | gdb/config/alpha/tm-alphalinux.h | 15 | ||||
-rw-r--r-- | gdb/config/alpha/xm-alphalinux.h | 5 | ||||
-rw-r--r-- | gdb/config/i386/nm-linux.h | 8 | ||||
-rw-r--r-- | gdb/config/i386/nm-x86-64.h | 7 | ||||
-rw-r--r-- | gdb/config/i386/tm-linux.h | 7 | ||||
-rw-r--r-- | gdb/config/m68k/tm-linux.h | 6 | ||||
-rw-r--r-- | gdb/config/mips/nm-linux.h | 5 | ||||
-rw-r--r-- | gdb/config/mips/tm-linux.h | 7 | ||||
-rw-r--r-- | gdb/config/mips/xm-linux.h | 5 | ||||
-rw-r--r-- | gdb/config/nm-linux.h | 6 | ||||
-rw-r--r-- | gdb/config/powerpc/tm-linux.h | 5 | ||||
-rw-r--r-- | gdb/config/s390/nm-linux.h | 11 | ||||
-rw-r--r-- | gdb/config/s390/tm-linux.h | 6 | ||||
-rw-r--r-- | gdb/config/sh/tm-linux.h | 8 | ||||
-rw-r--r-- | gdb/config/sparc/nm-linux.h | 7 | ||||
-rw-r--r-- | gdb/config/sparc/tm-linux.h | 7 | ||||
-rw-r--r-- | gdb/config/sparc/tm-sp64linux.h | 5 | ||||
-rw-r--r-- | gdb/config/sparc/xm-linux.h | 7 | ||||
-rw-r--r-- | gdb/ia64-linux-nat.c | 2 | ||||
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/huge.c | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/pthreads.c | 3 |
25 files changed, 107 insertions, 67 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d64fe17b137..5b51371197f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -7,6 +7,16 @@ * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. * s390-tdep.c: Ditto. + * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. + * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: + * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. + * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. + * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. + * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. + * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. + * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. + * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. + * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. Fix PR gdb/378. 2002-02-23 Andrew Cagney <ac131313@redhat.com> diff --git a/gdb/config/alpha/nm-linux.h b/gdb/config/alpha/nm-linux.h index c86ecc3acd8..5d5e945c773 100644 --- a/gdb/config/alpha/nm-linux.h +++ b/gdb/config/alpha/nm-linux.h @@ -1,6 +1,7 @@ -/* Native definitions for alpha running Linux. - Copyright 1993, 1994, 1996, 1998, 2000, 2001 - Free Software Foundation, Inc. +/* Native definitions for alpha running GNU/Linux. + + Copyright 1993, 1994, 1996, 1998, 2000, 2001, 2002 Free Software + Foundation, Inc. This file is part of GDB. @@ -37,7 +38,7 @@ extern int get_longjmp_target (CORE_ADDR *); #define U_REGS_OFFSET 0 -/* FIXME: This is probably true, or should be, on all Linux ports. +/* FIXME: This is probably true, or should be, on all GNU/Linux ports. IA64? Sparc64? */ #define PTRACE_ARG3_TYPE long @@ -49,7 +50,7 @@ extern int get_longjmp_target (CORE_ADDR *); #define CANNOT_STEP_BREAKPOINT -/* Linux has shared libraries. */ +/* GNU/Linux has shared libraries. */ #define GDB_TARGET_HAS_SHARED_LIBS diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h index 82e964f506b..58412d095ae 100644 --- a/gdb/config/alpha/tm-alpha.h +++ b/gdb/config/alpha/tm-alpha.h @@ -1,7 +1,8 @@ /* Definitions to make GDB run on an Alpha box under OSF1. This is - also used by the Alpha/Netware and Alpha/Linux targets. - Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002 - Free Software Foundation, Inc. + also used by the Alpha/Netware and Alpha GNU/Linux targets. + + Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002 Free + Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/alpha/tm-alphalinux.h b/gdb/config/alpha/tm-alphalinux.h index a02c80c9635..23592aacaa2 100644 --- a/gdb/config/alpha/tm-alphalinux.h +++ b/gdb/config/alpha/tm-alphalinux.h @@ -1,6 +1,9 @@ -/* Definitions to make GDB run on an Alpha box under Linux. The - definitions here are used when the _target_ system is running Linux. - Copyright 1996, 1998, 1999, 2000 Free Software Foundation, Inc. +/* Definitions to make GDB run on an Alpha box under GNU/Linux. The + definitions here are used when the _target_ system is running + GNU/Linux. + + Copyright 1996, 1998, 1999, 2000, 2002 Free Software Foundation, + Inc. This file is part of GDB. @@ -38,7 +41,7 @@ extern long alpha_linux_sigtramp_offset (CORE_ADDR); /* Number of traps that happen between exec'ing the shell to run an inferior, and when we finally get to the inferior code. This is 2 - on Linux and most implementations. */ + on GNU/Linux and most implementations. */ #undef START_INFERIOR_TRAPS_EXPECTED #define START_INFERIOR_TRAPS_EXPECTED 2 @@ -69,8 +72,8 @@ extern long alpha_linux_sigtramp_offset (CORE_ADDR); /* If FRAME refers to a sigtramp frame, return the address of the next frame. - Under Linux, sigtramp handlers have dynamically generated procedure - descriptors that make this hack unnecessary. */ + Under GNU/Linux, sigtramp handlers have dynamically generated + procedure descriptors that make this hack unnecessary. */ #undef FRAME_PAST_SIGTRAMP_FRAME #define FRAME_PAST_SIGTRAMP_FRAME(frame, pc) (0) diff --git a/gdb/config/alpha/xm-alphalinux.h b/gdb/config/alpha/xm-alphalinux.h index b487630e7f5..f1bc14da4bd 100644 --- a/gdb/config/alpha/xm-alphalinux.h +++ b/gdb/config/alpha/xm-alphalinux.h @@ -1,5 +1,6 @@ -/* Host definitions for GDB running on an Alpha under Linux - Copyright 1996, 2001 Free Software Foundation, Inc. +/* Host definitions for GDB running on an Alpha under GNU/Linux. + + Copyright 1996, 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h index 8cc69eceb7f..8ae3eceec98 100644 --- a/gdb/config/i386/nm-linux.h +++ b/gdb/config/i386/nm-linux.h @@ -1,7 +1,7 @@ -/* Native support for Linux/x86. - Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 - Free Software Foundation, Inc. +/* Native support for GNU/Linux x86. + + Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, + 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/i386/nm-x86-64.h b/gdb/config/i386/nm-x86-64.h index 4f668a482eb..0d7048e4082 100644 --- a/gdb/config/i386/nm-x86-64.h +++ b/gdb/config/i386/nm-x86-64.h @@ -1,6 +1,7 @@ -/* Native support for Linux/x86-64. - Copyright 2001, 2002 Free Software Foundation, Inc. - Contributed by Jiri Smid, SuSE Labs. +/* Native support for GNU/Linux x86-64. + + Copyright 2001, 2002 Free Software Foundation, Inc. Contributed by + Jiri Smid, SuSE Labs. This file is part of GDB. diff --git a/gdb/config/i386/tm-linux.h b/gdb/config/i386/tm-linux.h index 820ac8b5564..5c549b969e4 100644 --- a/gdb/config/i386/tm-linux.h +++ b/gdb/config/i386/tm-linux.h @@ -1,6 +1,7 @@ /* Definitions to target GDB to GNU/Linux on 386. - Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001 - Free Software Foundation, Inc. + + Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free + Software Foundation, Inc. This file is part of GDB. @@ -60,7 +61,7 @@ extern int i386_linux_register_byte (int reg); #define REGISTER_RAW_SIZE(reg) i386_linux_register_raw_size ((reg)) extern int i386_linux_register_raw_size (int reg); -/* Linux/ELF uses stabs-in-ELF with the DWARF register numbering +/* GNU/Linux ELF uses stabs-in-ELF with the DWARF register numbering scheme by default, so we must redefine STAB_REG_TO_REGNUM. This messes up the floating-point registers for a.out, but there is not much we can do about that. */ diff --git a/gdb/config/m68k/tm-linux.h b/gdb/config/m68k/tm-linux.h index bd0e90467a4..78e732c90cf 100644 --- a/gdb/config/m68k/tm-linux.h +++ b/gdb/config/m68k/tm-linux.h @@ -1,5 +1,7 @@ -/* Definitions to target GDB to Linux on m680x0 - Copyright 1996, 1998, 1999, 2000 Free Software Foundation, Inc. +/* Definitions to target GDB to GNU/Linux on m680x0. + + Copyright 1996, 1998, 1999, 2000, 2002 Free Software Foundation, + Inc. This file is part of GDB. diff --git a/gdb/config/mips/nm-linux.h b/gdb/config/mips/nm-linux.h index 16b241d1e7f..c43ecd68393 100644 --- a/gdb/config/mips/nm-linux.h +++ b/gdb/config/mips/nm-linux.h @@ -1,5 +1,6 @@ -/* Native-dependent definitions for Linux/MIPS. - Copyright 1996, 2001 Free Software Foundation, Inc. +/* Native-dependent definitions for GNU/Linux on MIPS. + + Copyright 1996, 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/mips/tm-linux.h b/gdb/config/mips/tm-linux.h index ff32ff33ede..0e9de3cbb26 100644 --- a/gdb/config/mips/tm-linux.h +++ b/gdb/config/mips/tm-linux.h @@ -1,5 +1,6 @@ -/* Target-dependent definitions for Linux/MIPS. - Copyright 2001 Free Software Foundation, Inc. +/* Target-dependent definitions for GNU/Linux MIPS. + + Copyright 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. @@ -30,7 +31,7 @@ #undef SKIP_TRAMPOLINE_CODE #undef IGNORE_HELPER_CALL -/* Linux/MIPS has __SIGRTMAX == 127. */ +/* GNU/Linux MIPS has __SIGRTMAX == 127. */ #define REALTIME_LO 32 #define REALTIME_HI 128 diff --git a/gdb/config/mips/xm-linux.h b/gdb/config/mips/xm-linux.h index c19895e0423..4db6201bc7d 100644 --- a/gdb/config/mips/xm-linux.h +++ b/gdb/config/mips/xm-linux.h @@ -1,5 +1,6 @@ -/* Host definitions for Linux/MIPS. - Copyright 2001 Free Software Foundation, Inc. +/* Host definitions for GNU/Linux on MIPS. + + Copyright 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h index 84448d69686..a2d429214d9 100644 --- a/gdb/config/nm-linux.h +++ b/gdb/config/nm-linux.h @@ -1,6 +1,6 @@ /* Native support for GNU/Linux. - Copyright 1999, 2000, 2001 - Free Software Foundation, Inc. + + Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Linux is SVR4-ish but its /proc file system isn't. */ +/* GNU/Linux is SVR4-ish but its /proc file system isn't. */ #undef USE_PROC_FS /* Tell GDB that we can attach and detach other processes. */ diff --git a/gdb/config/powerpc/tm-linux.h b/gdb/config/powerpc/tm-linux.h index a7935c2326a..5fe8d76bce0 100644 --- a/gdb/config/powerpc/tm-linux.h +++ b/gdb/config/powerpc/tm-linux.h @@ -1,5 +1,6 @@ -/* Definitions to target GDB to Linux on 386. - Copyright 1992, 1993, 2000 Free Software Foundation, Inc. +/* Definitions to target GDB to GNU/Linux on PowerPC. + + Copyright 1992, 1993, 2000, 2002 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/s390/nm-linux.h b/gdb/config/s390/nm-linux.h index 52f26dfc0ff..3846579923f 100644 --- a/gdb/config/s390/nm-linux.h +++ b/gdb/config/s390/nm-linux.h @@ -1,7 +1,10 @@ -/* Native support for Linux for S390 - Copyright 2001 Free Software Foundation, Inc. - Ported by D.J. Barrow for IBM Deutschland Entwicklung GmbH, IBM Corporation. - derived from i390-nmlinux.h +/* Native support for GNU/Linux on S390. + + Copyright 2001, 2002 Free Software Foundation, Inc. + + Ported by D.J. Barrow for IBM Deutschland Entwicklung GmbH, IBM + Corporation. derived from i390-nmlinux.h + This file is part of GDB. This program is free software; you can redistribute it and/or modify diff --git a/gdb/config/s390/tm-linux.h b/gdb/config/s390/tm-linux.h index ce47cccec6f..c1b4a294ad8 100644 --- a/gdb/config/s390/tm-linux.h +++ b/gdb/config/s390/tm-linux.h @@ -1,5 +1,7 @@ -/* Target definitions for GDB for a s390 running Linux. - Copyright 2001 Free Software Foundation, Inc. +/* Target definitions for GDB for a s390 running GNU/Linux. + + Copyright 2001, 2002 Free Software Foundation, Inc. + Contributed by D.J. Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com) for IBM Deutschland Entwicklung GmbH, IBM Corporation. diff --git a/gdb/config/sh/tm-linux.h b/gdb/config/sh/tm-linux.h index cd721094e1b..ab1d4d86f21 100644 --- a/gdb/config/sh/tm-linux.h +++ b/gdb/config/sh/tm-linux.h @@ -1,5 +1,7 @@ -/* Target-specific definitions for Linux running on a Hitachi Super-H. - Copyright 2000 Free Software Foundation, Inc. +/* Target-specific definitions for GNU/Linux running on a Hitachi + Super-H. + + Copyright 2000, 2002 Free Software Foundation, Inc. This file is part of GDB. @@ -18,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Pull in Linux generic defs */ +/* Pull in GNU/Linux generic defs. */ #include "tm-linux.h" /* Pull in sh-target defs */ diff --git a/gdb/config/sparc/nm-linux.h b/gdb/config/sparc/nm-linux.h index 87f1948b92b..80ab0423cd0 100644 --- a/gdb/config/sparc/nm-linux.h +++ b/gdb/config/sparc/nm-linux.h @@ -1,6 +1,7 @@ -/* Macro definitions for running gdb on a Sparc running Linux. - Copyright 1989, 1992, 1996, 1998, 1999, 2000 - Free Software Foundation, Inc. +/* Macro definitions for running gdb on a Sparc running GNU/Linux. + + Copyright 1989, 1992, 1996, 1998, 1999, 2000, 2002 Free Software + Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/sparc/tm-linux.h b/gdb/config/sparc/tm-linux.h index dd0e0a76fb6..c3a6f82ba79 100644 --- a/gdb/config/sparc/tm-linux.h +++ b/gdb/config/sparc/tm-linux.h @@ -1,6 +1,7 @@ -/* Macro definitions for GDB for a Sparc running Linux. - Copyright 1989, 1992, 1994, 1995, 1998, 1999 - Free Software Foundation, Inc. +/* Macro definitions for GDB for a Sparc running GNU/Linux. + + Copyright 1989, 1992, 1994, 1995, 1998, 1999, 2002 Free Software + Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/sparc/tm-sp64linux.h b/gdb/config/sparc/tm-sp64linux.h index 7e515a8b8f1..2503ccbdba2 100644 --- a/gdb/config/sparc/tm-sp64linux.h +++ b/gdb/config/sparc/tm-sp64linux.h @@ -1,5 +1,6 @@ -/* Macro definitions for GDB for a UltraSparc running Linux. - Copyright 2001 Free Software Foundation, Inc. +/* Macro definitions for GDB for a UltraSparc running GNU/Linux. + + Copyright 2001, 2002 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/sparc/xm-linux.h b/gdb/config/sparc/xm-linux.h index f0f98550cf5..b0518e650e9 100644 --- a/gdb/config/sparc/xm-linux.h +++ b/gdb/config/sparc/xm-linux.h @@ -1,6 +1,7 @@ -/* Macro definitions for running gdb on a Sparc running Linux. - Copyright 1989, 1993, 1994, 1995, 1996, 1998, 2001 - Free Software Foundation, Inc. +/* Macro definitions for running gdb on a Sparc running GNU/Linux. + + Copyright 1989, 1993, 1994, 1995, 1996, 1998, 2001, 2002 Free + Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ia64-linux-nat.c b/gdb/ia64-linux-nat.c index ff0557b87e3..82695ef57ae 100644 --- a/gdb/ia64-linux-nat.c +++ b/gdb/ia64-linux-nat.c @@ -340,7 +340,7 @@ int ia64_cannot_store_register (regno) to be changed by (roughly) N as well. (It could be N-1 or N+1 depending upon where the NaT collection bits fall.) - OTOH, the linux kernel provides read/write access to bsp (and + OTOH, the Linux kernel provides read/write access to bsp (and currently read/write access to bspstore as well). But it is definitely the case that if you change one, the other will change at the same time. It is more useful to gdb to diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9cf5135a590..2b75520059a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-02-24 Andrew Cagney <ac131313@redhat.com> + + * testsuite/gdb.base/huge.c: Replace ``Linux'' with either + ``GNU/Linux'' or ``Linux kernel'' + * testsuite/gdb.threads/pthreads.c: Ditto. + 2002-02-24 Michael Chastain <mec@shout.net> * gdb.threads/pthreads.c (thread1): Add a return statement. diff --git a/gdb/testsuite/gdb.base/huge.c b/gdb/testsuite/gdb.base/huge.c index e84b97a88a0..419b92cc5b7 100644 --- a/gdb/testsuite/gdb.base/huge.c +++ b/gdb/testsuite/gdb.base/huge.c @@ -2,11 +2,9 @@ * Test GDB's ability to read a very large data object from target memory. */ -/* - * A value that will produce a target data object - * large enough to crash GDB. 0x200000 is big enough - * on Linux, other systems may need a larger number. - */ +/* A value that will produce a target data object large enough to + crash GDB. 0x200000 is big enough on GNU/Linux, other systems may + need a larger number. */ #define CRASH_GDB 0x200000 diff --git a/gdb/testsuite/gdb.threads/pthreads.c b/gdb/testsuite/gdb.threads/pthreads.c index 3df4c359a27..b8f126debd0 100644 --- a/gdb/testsuite/gdb.threads/pthreads.c +++ b/gdb/testsuite/gdb.threads/pthreads.c @@ -17,7 +17,8 @@ should issue an ERROR result.. */ #ifdef __linux__ -#define _MIT_POSIX_THREADS 1 /* Linux (or at least RedHat 4.0) needs this */ +#define _MIT_POSIX_THREADS 1 /* GNU/Linux (or at least RedHat 4.0) + needs this */ #endif #include <pthread.h> |