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.
This commit is contained in:
parent
0f6bf4518a
commit
155bd5d1c1
7 changed files with 30 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -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 =
|
||||
{
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 *);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue