diff options
author | Pedro Alves <palves@redhat.com> | 2015-03-19 12:24:06 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-03-19 12:24:06 +0000 |
commit | b90fc18880972f0c2ed280df20604d89f1d4ec38 (patch) | |
tree | 8b5759eda30cfb771ae003433287f84d1c047e2c /gdb/linux-nat.c | |
parent | e2575e05e73c3b2f08a8b5f579a504ac6a45ad60 (diff) | |
download | gdb-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.c | 2 |
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) |