+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
/* 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.
regcache_raw_supply (regcache, fsr0_regnum, fpregsetp->fsr[0]);
}
-/* FRV Linux register sets. */
+/* FRV Linux kernel register sets. */
static struct regset frv_linux_gregset =
{
}
}
-/* Linux register set. */
+/* HPPA Linux kernel register set. */
static struct regset hppa_linux_regset =
{
NULL,
/* 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
{
/* 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;
}
}
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;
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 *);
/* 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.
trad_frame_set_id (this_cache, frame_id_build (sc_base, func));
}
\f
-/* AM33 Linux osabi has been recognized.
+/* AM33 GNU/Linux osabi has been recognized.
Now's our chance to register our corefile handling. */
static void