summaryrefslogtreecommitdiff
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
commitea3741aa692748aaee9063989f69b3047960f1c2 (patch)
treef2362b0d0a5b7702e2b53b611226bd642885940d /gdb/linux-nat.c
parent1dcdda88894990e91dd2fadf966a9aafe8333447 (diff)
downloadgdb-ea3741aa692748aaee9063989f69b3047960f1c2.tar.gz
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 584bffa6c5e..b0b9cf32b93 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;