diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-02-23 10:56:56 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-02-23 10:56:56 -0500 |
commit | 1a48f0027d52f507da1817406279c1b81a6fa262 (patch) | |
tree | 70b47730720f7d232ca5dcfb9a9d971e2028b826 /gdbserver/linux-low.h | |
parent | 897608ed56a73739aa675011c2104565b68fc8bb (diff) | |
download | gdb-1a48f0027d52f507da1817406279c1b81a6fa262.zip gdb-1a48f0027d52f507da1817406279c1b81a6fa262.tar.gz gdb-1a48f0027d52f507da1817406279c1b81a6fa262.tar.bz2 |
gdbserver: linux-low: make linux_process_target::filter_event return void
Same as the previous patch, but for GDBserver. The return value of this
method is never used, change it to return void.
gdbserver/ChangeLog:
* linux-low.cc (linux_process_target::filter_event): Return
void.
* linux-low.h (class linux_process_target) <filter_event>:
Return void.
Change-Id: I79e5dc04d9b21b9f01c6d675fa463d1b1a703b3a
Diffstat (limited to 'gdbserver/linux-low.h')
-rw-r--r-- | gdbserver/linux-low.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdbserver/linux-low.h b/gdbserver/linux-low.h index 0234df5..be97526 100644 --- a/gdbserver/linux-low.h +++ b/gdbserver/linux-low.h @@ -326,10 +326,10 @@ private: to a new LWP representing the new program. */ int handle_extended_wait (lwp_info **orig_event_lwp, int wstat); - /* Do low-level handling of the event, and check if we should go on - and pass it to caller code. Return the affected lwp if we are, or - NULL otherwise. */ - lwp_info *filter_event (int lwpid, int wstat); + /* Do low-level handling of the event, and check if this is an event we want + to report. Is so, store it as a pending status in the lwp_info structure + corresponding to LWPID. */ + void filter_event (int lwpid, int wstat); /* Wait for an event from child(ren) WAIT_PTID, and return any that match FILTER_PTID (leaving others pending). The PTIDs can be: |