summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog10
-rw-r--r--gdb/config/alpha/nm-linux.h11
-rw-r--r--gdb/config/alpha/tm-alpha.h7
-rw-r--r--gdb/config/alpha/tm-alphalinux.h15
-rw-r--r--gdb/config/alpha/xm-alphalinux.h5
-rw-r--r--gdb/config/i386/nm-linux.h8
-rw-r--r--gdb/config/i386/nm-x86-64.h7
-rw-r--r--gdb/config/i386/tm-linux.h7
-rw-r--r--gdb/config/m68k/tm-linux.h6
-rw-r--r--gdb/config/mips/nm-linux.h5
-rw-r--r--gdb/config/mips/tm-linux.h7
-rw-r--r--gdb/config/mips/xm-linux.h5
-rw-r--r--gdb/config/nm-linux.h6
-rw-r--r--gdb/config/powerpc/tm-linux.h5
-rw-r--r--gdb/config/s390/nm-linux.h11
-rw-r--r--gdb/config/s390/tm-linux.h6
-rw-r--r--gdb/config/sh/tm-linux.h8
-rw-r--r--gdb/config/sparc/nm-linux.h7
-rw-r--r--gdb/config/sparc/tm-linux.h7
-rw-r--r--gdb/config/sparc/tm-sp64linux.h5
-rw-r--r--gdb/config/sparc/xm-linux.h7
-rw-r--r--gdb/gdb_wait.h12
-rw-r--r--gdb/gregset.h2
-rw-r--r--gdb/i386-linux-nat.c24
-rw-r--r--gdb/i386-linux-tdep.c34
-rw-r--r--gdb/i386v-nat.c16
-rw-r--r--gdb/ia64-linux-nat.c2
-rw-r--r--gdb/ia64-tdep.c28
-rw-r--r--gdb/infrun.c15
-rw-r--r--gdb/linux-proc.c3
-rw-r--r--gdb/m68klinux-nat.c15
-rw-r--r--gdb/ppc-linux-tdep.c23
-rw-r--r--gdb/proc-service.c7
-rw-r--r--gdb/s390-tdep.c20
-rw-r--r--gdb/sparc-linux-nat.c5
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/huge.c8
-rw-r--r--gdb/testsuite/gdb.threads/pthreads.c3
-rw-r--r--gdb/x86-64-linux-nat.c14
-rw-r--r--gdb/x86-64-linux-tdep.c15
40 files changed, 232 insertions, 175 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/gdb_wait.h b/gdb/gdb_wait.h
index 63a13d2105d..fec6f602a83 100644
--- a/gdb/gdb_wait.h
+++ b/gdb/gdb_wait.h
@@ -39,8 +39,8 @@
/* The following macros are defined equivalently to their definitions
in POSIX.1. We fail to define WNOHANG and WUNTRACED, which POSIX.1
<sys/wait.h> defines, since our code does not use waitpid() (but
- NOTE exception for Linux below).
- We also fail to declare wait() and waitpid(). */
+ NOTE exception for GNU/Linux below). We also fail to declare
+ wait() and waitpid(). */
#ifndef WIFEXITED
#define WIFEXITED(w) (((w)&0377) == 0)
@@ -101,11 +101,9 @@
# endif
#endif
-/*
- * For native Linux we may use waitpid and the __WCLONE option.
- * <GRIPE> It is of course dangerous not to use the REAL header file...
- * </GRIPE>
- */
+/* For native GNU/Linux we may use waitpid and the __WCLONE option.
+ <GRIPE> It is of course dangerous not to use the REAL header file...
+ </GRIPE>. */
/* Bits in the third argument to `waitpid'. */
#ifndef WNOHANG
diff --git a/gdb/gregset.h b/gdb/gregset.h
index 19eefecca2e..a3a13257906 100644
--- a/gdb/gregset.h
+++ b/gdb/gregset.h
@@ -37,7 +37,7 @@ typedef GDB_FPREGSET_T gdb_fpregset_t;
includes integer registers and control registers. An fpregset is a
data structure containing the floating point registers. These data
structures were originally a part of the /proc interface, but have
- been borrowed or copied by other GDB targets, eg. Linux. */
+ been borrowed or copied by other GDB targets, eg. GNU/Linux. */
/* Copy register values from the native target gregset/fpregset
into GDB's internal register cache. */
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index aa2fa6595ab..a0d19e73438 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -1,4 +1,5 @@
-/* Native-dependent code for Linux/x86.
+/* Native-dependent code for GNU/Linux x86.
+
Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -66,10 +67,10 @@ static void dummy_sse_values (void);
-/* The register sets used in Linux ELF core-dumps are identical to the
- register sets in `struct user' that is used for a.out core-dumps,
- and is also used by `ptrace'. The corresponding types are
- `elf_gregset_t' for the general-purpose registers (with
+/* The register sets used in GNU/Linux ELF core-dumps are identical to
+ the register sets in `struct user' that is used for a.out
+ core-dumps, and is also used by `ptrace'. The corresponding types
+ are `elf_gregset_t' for the general-purpose registers (with
`elf_greg_t' the type of a single GP register) and `elf_fpregset_t'
for the floating-point registers.
@@ -593,7 +594,7 @@ fetch_inferior_registers (int regno)
return;
}
- /* Linux LWP ID's are process ID's. */
+ /* GNU/Linux LWP ID's are process ID's. */
if ((tid = TIDGET (inferior_ptid)) == 0)
tid = PIDGET (inferior_ptid); /* Not a threaded program. */
@@ -659,7 +660,7 @@ store_inferior_registers (int regno)
return;
}
- /* Linux LWP ID's are process ID's. */
+ /* GNU/Linux LWP ID's are process ID's. */
if ((tid = TIDGET (inferior_ptid)) == 0)
tid = PIDGET (inferior_ptid); /* Not a threaded program. */
@@ -778,7 +779,7 @@ i386_linux_dr_get_status (void)
/* Provide registers to GDB from a core file.
(We can't use the generic version of this function in
- core-regset.c, because Linux has *three* different kinds of
+ core-regset.c, because GNU/Linux has *three* different kinds of
register set notes. core-regset.c would have to call
supply_fpxregset, which most platforms don't have.)
@@ -791,7 +792,7 @@ i386_linux_dr_get_status (void)
2 --- the floating-point register set, in elf_fpregset_t format
3 --- the extended floating-point register set, in elf_fpxregset_t format
- REG_ADDR isn't used on Linux. */
+ REG_ADDR isn't used on GNU/Linux. */
static void
fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
@@ -847,7 +848,7 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
}
-/* The instruction for a Linux system call is:
+/* The instruction for a GNU/Linux system call is:
int $0x80
or 0xcd 0x80. */
@@ -935,7 +936,8 @@ child_resume (ptid_t ptid, int step, enum target_signal signal)
}
-/* Register that we are able to handle Linux ELF core file formats. */
+/* Register that we are able to handle GNU/Linux ELF core file
+ formats. */
static struct core_fns linux_elf_core_fns =
{
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index a8bc52f66f2..d67c01c2d59 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -1,5 +1,6 @@
-/* Target-dependent code for Linux running on i386's, for GDB.
- Copyright 2000, 2001 Free Software Foundation, Inc.
+/* Target-dependent code for GNU/Linux running on i386's, for GDB.
+
+ Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -67,12 +68,12 @@ i386_linux_register_raw_size (int reg)
/* Recognizing signal handler frames. */
-/* Linux has two flavors of signals. Normal signal handlers, and
+/* GNU/Linux has two flavors of signals. Normal signal handlers, and
"realtime" (RT) signals. The RT signals can provide additional
information to the signal handler if the SA_SIGINFO flag is set
when establishing a signal handler using `sigaction'. It is not
- unlikely that future versions of Linux will support SA_SIGINFO for
- normal signals too. */
+ unlikely that future versions of GNU/Linux will support SA_SIGINFO
+ for normal signals too. */
/* When the i386 Linux kernel calls a signal handler and the
SA_RESTORER flag isn't set, the return address points to a bit of
@@ -221,7 +222,7 @@ i386_linux_rt_sigtramp_start (CORE_ADDR pc)
return pc;
}
-/* Return whether PC is in a Linux sigtramp routine. */
+/* Return whether PC is in a GNU/Linux sigtramp routine. */
int
i386_linux_in_sigtramp (CORE_ADDR pc, char *name)
@@ -233,8 +234,8 @@ i386_linux_in_sigtramp (CORE_ADDR pc, char *name)
|| i386_linux_rt_sigtramp_start (pc) != 0);
}
-/* Assuming FRAME is for a Linux sigtramp routine, return the address
- of the associated sigcontext structure. */
+/* Assuming FRAME is for a GNU/Linux sigtramp routine, return the
+ address of the associated sigcontext structure. */
CORE_ADDR
i386_linux_sigcontext_addr (struct frame_info *frame)
@@ -285,8 +286,8 @@ i386_linux_sigcontext_addr (struct frame_info *frame)
/* Offset to saved PC in sigcontext, from <asm/sigcontext.h>. */
#define LINUX_SIGCONTEXT_PC_OFFSET (56)
-/* Assuming FRAME is for a Linux sigtramp routine, return the saved
- program counter. */
+/* Assuming FRAME is for a GNU/Linux sigtramp routine, return the
+ saved program counter. */
static CORE_ADDR
i386_linux_sigtramp_saved_pc (struct frame_info *frame)
@@ -299,8 +300,8 @@ i386_linux_sigtramp_saved_pc (struct frame_info *frame)
/* Offset to saved SP in sigcontext, from <asm/sigcontext.h>. */
#define LINUX_SIGCONTEXT_SP_OFFSET (28)
-/* Assuming FRAME is for a Linux sigtramp routine, return the saved
- stack pointer. */
+/* Assuming FRAME is for a GNU/Linux sigtramp routine, return the
+ saved stack pointer. */
static CORE_ADDR
i386_linux_sigtramp_saved_sp (struct frame_info *frame)
@@ -448,7 +449,7 @@ skip_hurd_resolver (CORE_ADDR pc)
It's kind of gross to do all these checks every time we're
called, since they don't change once the executable has gotten
started. But this is only a temporary hack --- upcoming versions
- of Linux will provide a portable, efficient interface for
+ of GNU/Linux will provide a portable, efficient interface for
debugging programs that use shared libraries. */
struct objfile *objfile;
@@ -488,11 +489,12 @@ i386_linux_skip_solib_resolver (CORE_ADDR pc)
}
/* Fetch (and possibly build) an appropriate link_map_offsets
- structure for native Linux/x86 targets using the struct offsets
+ structure for native GNU/Linux x86 targets using the struct offsets
defined in link.h (but without actual reference to that file).
- This makes it possible to access Linux/x86 shared libraries from a
- GDB that was not built on an Linux/x86 host (for cross debugging). */
+ This makes it possible to access GNU/Linux x86 shared libraries
+ from a GDB that was not built on an GNU/Linux x86 host (for cross
+ debugging). */
struct link_map_offsets *
i386_linux_svr4_fetch_link_map_offsets (void)
diff --git a/gdb/i386v-nat.c b/gdb/i386v-nat.c
index 3f75085e1d4..672ddfbf808 100644
--- a/gdb/i386v-nat.c
+++ b/gdb/i386v-nat.c
@@ -1,6 +1,7 @@
/* Intel 386 native support for SYSV systems (pre-SVR4).
- Copyright 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,
- 2000 Free Software Foundation, Inc.
+
+ Copyright 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
+ 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -46,12 +47,11 @@
#include <fcntl.h>
-/* FIXME: The following used to be just "#include <sys/debugreg.h>", but
- * the the Linux 2.1.x kernel and glibc 2.0.x are not in sync; including
- * <sys/debugreg.h> will result in an error. With luck, these losers
- * will get their act together and we can trash this hack in the near future.
- * --jsm 1998-10-21
- */
+/* FIXME: 1998-10-21/jsm: The following used to be just "#include
+ <sys/debugreg.h>", but the the Linux kernel (version 2.1.x) and
+ glibc 2.0.x are not in sync; including <sys/debugreg.h> will result
+ in an error. With luck, these losers will get their act together
+ and we can trash this hack in the near future. */
#ifdef TARGET_HAS_HARDWARE_WATCHPOINTS
#ifdef HAVE_ASM_DEBUGREG_H
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/ia64-tdep.c b/gdb/ia64-tdep.c
index 8b027e01ad3..7ca7fe71a4d 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -1,6 +1,6 @@
/* Target-dependent code for the IA-64 for GDB, the GNU debugger.
- Copyright 1999, 2000, 2001
- Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -1990,7 +1990,7 @@ ia64_pop_frame_regular (struct frame_info *frame)
size of the frame and the size of the locals (both wrt the
frame that we're going back to). This seems kind of strange,
especially since it seems like we ought to be subtracting the
- size of the locals... and we should; but the linux kernel
+ size of the locals... and we should; but the Linux kernel
wants bsp to be set at the end of all used registers. It's
likely that this code will need to be revised to accomodate
other operating systems. */
@@ -2072,10 +2072,11 @@ ia64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
{
os_ident = elf_elfheader (info.abfd)->e_ident[EI_OSABI];
- /* If os_ident is 0, it is not necessarily the case that we're on a
- SYSV system. (ELFOSABI_NONE is defined to be 0.) GNU/Linux uses
- a note section to record OS/ABI info, but leaves e_ident[EI_OSABI]
- zero. So we have to check for note sections too. */
+ /* If os_ident is 0, it is not necessarily the case that we're
+ on a SYSV system. (ELFOSABI_NONE is defined to be 0.)
+ GNU/Linux uses a note section to record OS/ABI info, but
+ leaves e_ident[EI_OSABI] zero. So we have to check for note
+ sections too. */
if (os_ident == 0)
{
bfd_map_over_sections (info.abfd,
@@ -2112,12 +2113,13 @@ ia64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
else
tdep->sigcontext_register_address = 0;
- /* We know that Linux won't have to resort to the native_find_global_pointer
- hackery. But that's the only one we know about so far, so if
- native_find_global_pointer is set to something non-zero, then use
- it. Otherwise fall back to using generic_elf_find_global_pointer.
- This arrangement should (in theory) allow us to cross debug Linux
- binaries from an AIX machine. */
+ /* We know that GNU/Linux won't have to resort to the
+ native_find_global_pointer hackery. But that's the only one we
+ know about so far, so if native_find_global_pointer is set to
+ something non-zero, then use it. Otherwise fall back to using
+ generic_elf_find_global_pointer. This arrangement should (in
+ theory) allow us to cross debug GNU/Linux binaries from an AIX
+ machine. */
if (os_ident == ELFOSABI_LINUX)
tdep->find_global_pointer = generic_elf_find_global_pointer;
else if (native_find_global_pointer != 0)
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 1efe87b9367..6ae8f7c468b 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -1,4 +1,5 @@
-/* Target-struct-independent code to start (run) and stop an inferior process.
+/* Target-struct-independent code to start (run) and stop an inferior
+ process.
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software
@@ -142,12 +143,12 @@ static int may_follow_exec = MAY_FOLLOW_EXEC;
The simple approach is to single-step until control leaves the
dynamic linker.
- However, on some systems (e.g., Red Hat Linux 5.2) the dynamic
- linker calls functions in the shared C library, so you can't tell
- from the PC alone whether the dynamic linker is still running. In
- this case, we use a step-resume breakpoint to get us past the
- dynamic linker, as if we were using "next" to step over a function
- call.
+ However, on some systems (e.g., Red Hat's 5.2 distribution) the
+ dynamic linker calls functions in the shared C library, so you
+ can't tell from the PC alone whether the dynamic linker is still
+ running. In this case, we use a step-resume breakpoint to get us
+ past the dynamic linker, as if we were using "next" to step over a
+ function call.
IN_SOLIB_DYNSYM_RESOLVE_CODE says whether we're in the dynamic
linker code or not. Normally, this means we single-step. However,
diff --git a/gdb/linux-proc.c b/gdb/linux-proc.c
index 4a565731835..d6f88d33ce0 100644
--- a/gdb/linux-proc.c
+++ b/gdb/linux-proc.c
@@ -1,4 +1,5 @@
-/* Linux-specific methods for using the /proc file system.
+/* GNU/Linux specific methods for using the /proc file system.
+
Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c
index 75427e3d942..ffb55326274 100644
--- a/gdb/m68klinux-nat.c
+++ b/gdb/m68klinux-nat.c
@@ -1,5 +1,7 @@
-/* Motorola m68k native support for Linux
- Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Motorola m68k native support for GNU/Linux.
+
+ Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation,
+ Inc.
This file is part of GDB.
@@ -445,7 +447,7 @@ fetch_inferior_registers (int regno)
return;
}
- /* Linux LWP ID's are process ID's. */
+ /* GNU/Linux LWP ID's are process ID's. */
if ((tid = TIDGET (inferior_ptid)) == 0)
tid = PIDGET (inferior_ptid); /* Not a threaded program. */
@@ -500,7 +502,7 @@ store_inferior_registers (int regno)
return;
}
- /* Linux LWP ID's are process ID's. */
+ /* GNU/Linux LWP ID's are process ID's. */
if ((tid = TIDGET (inferior_ptid)) == 0)
tid = PIDGET (inferior_ptid); /* Not a threaded program. */
@@ -546,7 +548,7 @@ store_inferior_registers (int regno)
0 --- the general-purpose register set, in elf_gregset_t format
2 --- the floating-point register set, in elf_fpregset_t format
- REG_ADDR isn't used on Linux. */
+ REG_ADDR isn't used on GNU/Linux. */
static void
fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
@@ -627,7 +629,8 @@ in_sigtramp (CORE_ADDR pc)
}
-/* Register that we are able to handle Linux ELF core file formats. */
+/* Register that we are able to handle GNU/Linux ELF core file
+ formats. */
static struct core_fns linux_elf_core_fns =
{
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index 5c1fa2807c4..b12cffd5971 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -1,7 +1,7 @@
/* Target-dependent code for GDB, the GNU debugger.
- Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
+ 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -36,7 +36,7 @@
#include "ppc-tdep.h"
/* The following two instructions are used in the signal trampoline
- code on linux/ppc */
+ code on GNU/Linux PPC. */
#define INSTR_LI_R0_0x7777 0x38007777
#define INSTR_SC 0x44000002
@@ -105,11 +105,11 @@ static int ppc_linux_at_sigtramp_return_path (CORE_ADDR pc);
/* Determine if pc is in a signal trampoline...
- Ha! That's not what this does at all. wait_for_inferior in infrun.c
- calls IN_SIGTRAMP in order to detect entry into a signal trampoline
- just after delivery of a signal. But on linux, signal trampolines
- are used for the return path only. The kernel sets things up so that
- the signal handler is called directly.
+ Ha! That's not what this does at all. wait_for_inferior in
+ infrun.c calls IN_SIGTRAMP in order to detect entry into a signal
+ trampoline just after delivery of a signal. But on GNU/Linux,
+ signal trampolines are used for the return path only. The kernel
+ sets things up so that the signal handler is called directly.
If we use in_sigtramp2() in place of in_sigtramp() (see below)
we'll (often) end up with stop_pc in the trampoline and prev_pc in
@@ -773,11 +773,12 @@ ppc_linux_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache)
}
/* Fetch (and possibly build) an appropriate link_map_offsets
- structure for Linux/PPC targets using the struct offsets
+ structure for GNU/Linux PPC targets using the struct offsets
defined in link.h (but without actual reference to that file).
- This makes it possible to access Linux/PPC shared libraries from a
- GDB that was not built on an Linux/PPC host (for cross debugging). */
+ This makes it possible to access GNU/Linux PPC shared libraries
+ from a GDB that was not built on an GNU/Linux PPC host (for cross
+ debugging). */
struct link_map_offsets *
ppc_linux_svr4_fetch_link_map_offsets (void)
diff --git a/gdb/proc-service.c b/gdb/proc-service.c
index 8d63e982196..d7cd1aaf91b 100644
--- a/gdb/proc-service.c
+++ b/gdb/proc-service.c
@@ -1,5 +1,6 @@
/* <proc_service.h> implementation.
- Copyright 1999, 2000 Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -294,8 +295,8 @@ ps_lsetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid,
return PS_OK;
}
-/* Return overall process id of the target PH.
- Special for Linux -- not used on Solaris. */
+/* Return overall process id of the target PH. Special for GNU/Linux
+ -- not used on Solaris. */
pid_t
ps_getpid (gdb_ps_prochandle_t ph)
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index 41da9a45ae4..3f02e2a7a29 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -1,5 +1,7 @@
/* Target-dependent code for GDB, the GNU debugger.
- Copyright 2001 Free Software Foundation, Inc.
+
+ 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.
@@ -1354,7 +1356,7 @@ is_float_like (struct type *type)
/* Return non-zero if TYPE is considered a `DOUBLE_OR_FLOAT', as
defined by the parameter passing conventions described in the
- "Linux for S/390 ELF Application Binary Interface Supplement".
+ "GNU/Linux for S/390 ELF Application Binary Interface Supplement".
Otherwise, return zero. */
static int
is_double_or_float (struct type *type)
@@ -1366,8 +1368,9 @@ is_double_or_float (struct type *type)
/* Return non-zero if TYPE is considered a `SIMPLE_ARG', as defined by
- the parameter passing conventions described in the "Linux for S/390
- ELF Application Binary Interface Supplement". Return zero otherwise. */
+ the parameter passing conventions described in the "GNU/Linux for
+ S/390 ELF Application Binary Interface Supplement". Return zero
+ otherwise. */
static int
is_simple_arg (struct type *type)
{
@@ -1415,8 +1418,9 @@ extend_simple_arg (struct value *arg)
/* Return non-zero if TYPE is a `DOUBLE_ARG', as defined by the
- parameter passing conventions described in the "Linux for S/390 ELF
- Application Binary Interface Supplement". Return zero otherwise. */
+ parameter passing conventions described in the "GNU/Linux for S/390
+ ELF Application Binary Interface Supplement". Return zero
+ otherwise. */
static int
is_double_arg (struct type *type)
{
@@ -1487,8 +1491,8 @@ alignment_of (struct type *type)
/* Put the actual parameter values pointed to by ARGS[0..NARGS-1] in
- place to be passed to a function, as specified by the "Linux for
- S/390 ELF Application Binary Interface Supplement".
+ place to be passed to a function, as specified by the "GNU/Linux
+ for S/390 ELF Application Binary Interface Supplement".
SP is the current stack pointer. We must put arguments, links,
padding, etc. whereever they belong, and return the new stack
diff --git a/gdb/sparc-linux-nat.c b/gdb/sparc-linux-nat.c
index eb1fcfa4e5a..ba418b637db 100644
--- a/gdb/sparc-linux-nat.c
+++ b/gdb/sparc-linux-nat.c
@@ -1,5 +1,6 @@
-/* Native-dependent code for Linux/SPARC.
- Copyright 2001 Free Software Foundation, Inc.
+/* Native-dependent code for GNU/Linux SPARC.
+
+ Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
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>
diff --git a/gdb/x86-64-linux-nat.c b/gdb/x86-64-linux-nat.c
index eb635660416..3fb24dd5ce5 100644
--- a/gdb/x86-64-linux-nat.c
+++ b/gdb/x86-64-linux-nat.c
@@ -1,4 +1,4 @@
-/* Native-dependent code for Linux/x86-64.
+/* Native-dependent code for GNU/Linux x86-64.
Copyright 2001, 2002 Free Software Foundation, Inc.
@@ -109,8 +109,8 @@ x86_64_linux_dr_get_status (void)
}
-/* The register sets used in Linux ELF core-dumps are identical to the
- register sets used by `ptrace'. */
+/* The register sets used in GNU/Linux ELF core-dumps are identical to
+ the register sets used by `ptrace'. */
#define GETREGS_SUPPLIES(regno) \
(0 <= (regno) && (regno) <= 17)
@@ -247,7 +247,7 @@ fetch_inferior_registers (int regno)
{
int tid;
- /* Linux LWP ID's are process ID's. */
+ /* GNU/Linux LWP ID's are process ID's. */
if ((tid = TIDGET (inferior_ptid)) == 0)
tid = PIDGET (inferior_ptid); /* Not a threaded program. */
@@ -282,7 +282,7 @@ store_inferior_registers (int regno)
{
int tid;
- /* Linux LWP ID's are process ID's. */
+ /* GNU/Linux LWP ID's are process ID's. */
if ((tid = TIDGET (inferior_ptid)) == 0)
tid = PIDGET (inferior_ptid); /* Not a threaded program. */
@@ -499,7 +499,7 @@ child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
0 --- the general-purpose register set, in elf_gregset_t format
2 --- the floating-point register set, in elf_fpregset_t format
- REG_ADDR isn't used on Linux. */
+ REG_ADDR isn't used on GNU/Linux. */
static void
fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
@@ -537,7 +537,7 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
}
}
-/* Register that we are able to handle Linux ELF core file formats. */
+/* Register that we are able to handle GNU/Linux ELF core file formats. */
static struct core_fns linux_elf_core_fns = {
bfd_target_elf_flavour, /* core_flavour */
diff --git a/gdb/x86-64-linux-tdep.c b/gdb/x86-64-linux-tdep.c
index e4df224fced..171ec9c4975 100644
--- a/gdb/x86-64-linux-tdep.c
+++ b/gdb/x86-64-linux-tdep.c
@@ -1,6 +1,7 @@
-/* Target-dependent code for Linux running on x86-64, for GDB.
- Copyright 2001
- Free Software Foundation, Inc.
+/* Target-dependent code for GNU/Linux running on x86-64, for GDB.
+
+ Copyright 2001 Free Software Foundation, Inc.
+
Contributed by Jiri Smid, SuSE Labs.
This file is part of GDB.
@@ -71,8 +72,8 @@ x86_64_linux_sigtramp_start (CORE_ADDR pc)
/* Offset to struct sigcontext in ucontext, from <asm/ucontext.h>. */
#define LINUX_UCONTEXT_SIGCONTEXT_OFFSET (36)
-/* Assuming FRAME is for a Linux sigtramp routine, return the address
- of the associated sigcontext structure. */
+/* Assuming FRAME is for a GNU/Linux sigtramp routine, return the
+ address of the associated sigcontext structure. */
CORE_ADDR
x86_64_linux_sigcontext_addr (struct frame_info *frame)
{
@@ -102,8 +103,8 @@ x86_64_linux_sigcontext_addr (struct frame_info *frame)
/* Offset to saved PC in sigcontext, from <asm/sigcontext.h>. */
#define LINUX_SIGCONTEXT_PC_OFFSET (136)
-/* Assuming FRAME is for a Linux sigtramp routine, return the saved
- program counter. */
+/* Assuming FRAME is for a GNU/Linux sigtramp routine, return the
+ saved program counter. */
CORE_ADDR
x86_64_linux_sigtramp_saved_pc (struct frame_info *frame)