aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-03-19 12:24:06 +0000
committerPedro Alves <palves@redhat.com>2015-03-19 12:24:06 +0000
commitb90fc18880972f0c2ed280df20604d89f1d4ec38 (patch)
tree8b5759eda30cfb771ae003433287f84d1c047e2c /gdb/linux-nat.c
parente2575e05e73c3b2f08a8b5f579a504ac6a45ad60 (diff)
downloadgdb-b90fc18880972f0c2ed280df20604d89f1d4ec38.zip
gdb-b90fc18880972f0c2ed280df20604d89f1d4ec38.tar.gz
gdb-b90fc18880972f0c2ed280df20604d89f1d4ec38.tar.bz2
select_event_lwp_callback: update comments
This function (in both GDB and GDBserver) used to consider only SIGTRAP/breakpoint events, but that's no longer the case nowadays. gdb/gdbserver/ChangeLog: 2015-03-19 Pedro Alves <palves@redhat.com> * linux-low.c (select_event_lwp_callback): Update comments to no longer mention SIGTRAP. gdb/ChangeLog: 2015-03-19 Pedro Alves <palves@redhat.com> * linux-nat.c (select_event_lwp_callback): Update comment to no longer mention SIGTRAP.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 22ce842..f5622ac 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -2644,7 +2644,7 @@ lwp_status_pending_p (struct lwp_info *lp)
return lp->status != 0 || lp->waitstatus.kind != TARGET_WAITKIND_IGNORE;
}
-/* Select the Nth LWP that has had a SIGTRAP event. */
+/* Select the Nth LWP that has had an event. */
static int
select_event_lwp_callback (struct lwp_info *lp, void *data)