aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread-db.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-24 21:53:02 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-24 21:53:02 +0000
commit8605d56e7a489870c1ac2167046a4f4dad8cc13d (patch)
treefda2dbd5bab66874c4811e69a61cf579327d9287 /gdb/thread-db.c
parent2aea96a18e875e28ae4e3bfa214383194b7970fe (diff)
downloadfsf-binutils-gdb-8605d56e7a489870c1ac2167046a4f4dad8cc13d.zip
fsf-binutils-gdb-8605d56e7a489870c1ac2167046a4f4dad8cc13d.tar.gz
fsf-binutils-gdb-8605d56e7a489870c1ac2167046a4f4dad8cc13d.tar.bz2
* lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
with either ``GNU/Linux'' or ``Linux kernel''. Fix PR gdb/378.
Diffstat (limited to 'gdb/thread-db.c')
-rw-r--r--gdb/thread-db.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/thread-db.c b/gdb/thread-db.c
index df06f3c..2e7620e 100644
--- a/gdb/thread-db.c
+++ b/gdb/thread-db.c
@@ -37,7 +37,8 @@
#define LIBTHREAD_DB_SO "libthread_db.so.1"
#endif
-/* If we're running on Linux, we must explicitly attach to any new threads. */
+/* If we're running on GNU/Linux, we must explicitly attach to any new
+ threads. */
/* FIXME: There is certainly some room for improvements:
- Cache LWP ids.
@@ -576,7 +577,7 @@ attach_thread (ptid_t ptid, const td_thrhandle_t *th_p,
if (ti_p->ti_state == TD_THR_UNKNOWN || ti_p->ti_state == TD_THR_ZOMBIE)
return; /* A zombie thread -- do not attach. */
- /* Under Linux, we have to attach to each and every thread. */
+ /* Under GNU/Linux, we have to attach to each and every thread. */
#ifdef ATTACH_LWP
ATTACH_LWP (BUILD_LWP (ti_p->ti_lid, GET_PID (ptid)), 0);
#endif