aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2006-11-20 21:47:06 +0000
committerAndrew Cagney <cagney@redhat.com>2006-11-20 21:47:06 +0000
commit155bd5d1c1c18a53240f651475f55798e35c2659 (patch)
tree5b98765506d0c0a3a12b4bc4d12777737d4432e3 /gdb/linux-nat.c
parent0f6bf4518a1fa0f7a569bb701db640eb9746ca5f (diff)
downloadgdb-155bd5d1c1c18a53240f651475f55798e35c2659.zip
gdb-155bd5d1c1c18a53240f651475f55798e35c2659.tar.gz
gdb-155bd5d1c1c18a53240f651475f55798e35c2659.tar.bz2
Index: ChangeLog
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.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c18
1 files changed, 9 insertions, 9 deletions
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;