aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/frv-linux-tdep.c5
-rw-r--r--gdb/hppa-linux-tdep.c2
-rw-r--r--gdb/infcmd.c4
-rw-r--r--gdb/linux-nat.c18
-rw-r--r--gdb/linux-nat.h6
-rw-r--r--gdb/mn10300-linux-tdep.c6
7 files changed, 30 insertions, 20 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 80320f2..682b29a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+2006-11-20 Andrew Cagney <cagney@redhat.com>
+
+ * linux-nat.h: Refer to GNU/Linux or Linux kernel.
+ * linux-nat.c (lin_lwp_attach_lwp, linux_nat_thread_alive): Ditto.
+ * infcmd.c (attach_command): Ditto.
+ * hppa-linux-tdep.c (hppa_linux_regset): Ditto.
+ * mn10300-linux-tdep.c: Ditto. Update copyright year.
+ * frv-linux-tdep.c: Ditto. Update copyright year.
+
2006-11-19 Joel Brobecker <brobecker@adacore.com>
* NEWS: Add a new section for changes since GDB 6.6. Rename
diff --git a/gdb/frv-linux-tdep.c b/gdb/frv-linux-tdep.c
index b24dbd0..7dce7a8 100644
--- a/gdb/frv-linux-tdep.c
+++ b/gdb/frv-linux-tdep.c
@@ -1,6 +1,7 @@
/* Target-dependent code for GNU/Linux running on the Fujitsu FR-V,
for GDB.
- Copyright (C) 2004 Free Software Foundation, Inc.
+
+ Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is part of GDB.
@@ -452,7 +453,7 @@ frv_linux_supply_fpregset (const struct regset *regset,
regcache_raw_supply (regcache, fsr0_regnum, fpregsetp->fsr[0]);
}
-/* FRV Linux register sets. */
+/* FRV Linux kernel register sets. */
static struct regset frv_linux_gregset =
{
diff --git a/gdb/hppa-linux-tdep.c b/gdb/hppa-linux-tdep.c
index eb5e858..2c6fb02 100644
--- a/gdb/hppa-linux-tdep.c
+++ b/gdb/hppa-linux-tdep.c
@@ -481,7 +481,7 @@ hppa_linux_supply_fpregset (const struct regset *regset,
}
}
-/* Linux register set. */
+/* HPPA Linux kernel register set. */
static struct regset hppa_linux_regset =
{
NULL,
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 704fb12..b72d7d6 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1857,8 +1857,8 @@ attach_command (char *args, int from_tty)
/* Clear out solib state. Otherwise the solib state of the previous
inferior might have survived and is entirely wrong for the new
- target. This has been observed on Linux using glibc 2.3. How to
- reproduce:
+ target. This has been observed on GNU/Linux using glibc 2.3. How
+ to reproduce:
bash$ ./foo&
[1] 4711
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 584bffa..b0b9cf3 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -986,10 +986,10 @@ lin_lwp_attach_lwp (ptid_t ptid, int verbose)
{
/* We assume that the LWP representing the original process is
already stopped. Mark it as stopped in the data structure
- that the linux ptrace layer uses to keep track of threads.
- Note that this won't have already been done since the main
- thread will have, we assume, been stopped by an attach from a
- different layer. */
+ that the GNU/linux ptrace layer uses to keep track of
+ threads. Note that this won't have already been done since
+ the main thread will have, we assume, been stopped by an
+ attach from a different layer. */
lp->stopped = 1;
}
}
@@ -2396,11 +2396,11 @@ linux_nat_thread_alive (ptid_t ptid)
target_pid_to_str (ptid),
errno ? safe_strerror (errno) : "OK");
- /* Not every Linux target implements PTRACE_PEEKUSER.
- But we can handle that case gracefully since ptrace
- will first do a lookup for the process based upon the
- passed-in pid. If that fails we will get either -ESRCH
- or -EPERM, otherwise the child exists and is alive. */
+ /* Not every Linux kernel implements PTRACE_PEEKUSER. But we can
+ handle that case gracefully since ptrace will first do a lookup
+ for the process based upon the passed-in pid. If that fails we
+ will get either -ESRCH or -EPERM, otherwise the child exists and
+ is alive. */
if (errno == ESRCH || errno == EPERM)
return 0;
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index f820ff6..5b39abf 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -85,11 +85,11 @@ struct lwp_info *iterate_over_lwps (int (*callback) (struct lwp_info *,
void *),
void *data);
-/* Create a prototype generic Linux target. The client can override
- it with local methods. */
+/* Create a prototype generic GNU/Linux target. The client can
+ override it with local methods. */
struct target_ops * linux_target (void);
-/* Register the customized Linux target. This should be used
+/* Register the customized GNU/Linux target. This should be used
instead of calling add_target directly. */
void linux_nat_add_target (struct target_ops *);
diff --git a/gdb/mn10300-linux-tdep.c b/gdb/mn10300-linux-tdep.c
index a2d6f01..cc52db2 100644
--- a/gdb/mn10300-linux-tdep.c
+++ b/gdb/mn10300-linux-tdep.c
@@ -1,6 +1,6 @@
/* Target-dependent code for the Matsushita MN10300 for GDB, the GNU debugger.
- Copyright (C) 2003, 2004, 2005
- Free Software Foundation, Inc.
+
+ Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of GDB.
@@ -704,7 +704,7 @@ am33_linux_sigframe_cache_init (const struct tramp_frame *self,
trad_frame_set_id (this_cache, frame_id_build (sc_base, func));
}
-/* AM33 Linux osabi has been recognized.
+/* AM33 GNU/Linux osabi has been recognized.
Now's our chance to register our corefile handling. */
static void