Specialize std::hash for ptid_t
authorTom Tromey <tromey@adacore.com>
Mon, 11 Sep 2023 14:45:37 +0000 (08:45 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 11 Sep 2023 17:40:40 +0000 (11:40 -0600)
commit9a343d2bb57c4555dedad9b43907aeeda7b51dae
tree3a230b77933274b6513b0a5d576565e36e6e7318
parent14432bde076fdee66e6163993eadf592742935da
Specialize std::hash for ptid_t

This changes hash_ptid to instead be a specialization of std::hash.
This makes it a little easier to use with standard containers.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/inferior.h
gdb/regcache.c
gdbsupport/ptid.h