diff options
author | Hui Zhu <hui@codesourcery.com> | 2014-02-27 14:30:07 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-02-27 14:30:07 +0000 |
commit | 2ebd5a35208e40dab7df46c7d6d58f4d614c6e21 (patch) | |
tree | 81331bc1c9e20fec4702748467f12562f58e358a /gdb/inferior.h | |
parent | 5063daf7357ccdc2c9e899ca0421c2e8e580c88d (diff) | |
download | gdb-2ebd5a35208e40dab7df46c7d6d58f4d614c6e21.zip gdb-2ebd5a35208e40dab7df46c7d6d58f4d614c6e21.tar.gz gdb-2ebd5a35208e40dab7df46c7d6d58f4d614c6e21.tar.bz2 |
Move ptid_match to common/ptid.c.
So that gdbserver can use it too.
gdb/
2014-02-27 Hui Zhu <hui@codesourcery.com>
PR 12702
* infrun.c (ptid_match): Move ...
* common/ptid.c (ptid_match): ... here.
* inferior.h (ptid_match): Move ...
* common/ptid.h (ptid_match): ... here.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 43e035b..9f6375e 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -65,16 +65,6 @@ extern void discard_infcall_control_state (struct infcall_control_state *); extern struct regcache * get_infcall_suspend_state_regcache (struct infcall_suspend_state *); -/* Returns true if PTID matches filter FILTER. FILTER can be the wild - card MINUS_ONE_PTID (all ptid match it); can be a ptid representing - a process (ptid_is_pid returns true), in which case, all lwps and - threads of that given process match, lwps and threads of other - processes do not; or, it can represent a specific thread, in which - case, only that thread will match true. PTID must represent a - specific LWP or THREAD, it can never be a wild card. */ - -extern int ptid_match (ptid_t ptid, ptid_t filter); - /* Save value of inferior_ptid so that it may be restored by a later call to do_cleanups(). Returns the struct cleanup pointer needed for later doing the cleanup. */ |