projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change regcache list to be an hash map
[deliverable/binutils-gdb.git]
/
gdb
/
thread-map.h
diff --git
a/gdb/thread-map.h
b/gdb/thread-map.h
index 2b41b7361ce62b741fd416069b1ec50bf8882346..44cccc16c4c5dc560c9e66919b8231cf26d1fc05 100644
(file)
--- a/
gdb/thread-map.h
+++ b/
gdb/thread-map.h
@@
-25,15
+25,6
@@
struct thread_info;
struct thread_info;
-struct hash_ptid
-{
- size_t operator() (const ptid_t &ptid) const
- {
- std::hash<long> long_hash;
- return long_hash(ptid.pid()) + long_hash(ptid.lwp()) + long_hash(ptid.tid());
- }
-};
-
using ptid_thread_map = std::unordered_map<ptid_t, thread_info *, hash_ptid>;
struct all_thread_map_range_iterator
using ptid_thread_map = std::unordered_map<ptid_t, thread_info *, hash_ptid>;
struct all_thread_map_range_iterator
This page took
0.024211 seconds
and
4
git commands to generate.