diff options
author | Tom Tromey <tromey@adacore.com> | 2021-03-15 08:59:17 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-03-15 11:30:51 -0600 |
commit | 675da9a57e0ab1c384e0dfd20ddf715a83c18673 (patch) | |
tree | 6de259cf85f6c945919c93b079a5b04a6675f631 /libctf/ctf-open.c | |
parent | 4800761a71cf4eb1024ab586385be4832d62aabb (diff) | |
download | gdb-675da9a57e0ab1c384e0dfd20ddf715a83c18673.zip gdb-675da9a57e0ab1c384e0dfd20ddf715a83c18673.tar.gz gdb-675da9a57e0ab1c384e0dfd20ddf715a83c18673.tar.bz2 |
Fix GDB build with GCC 4.8.2
PR build/27579 points out that the expression rewrite series
introduced a build failure with GCC 4.8.2. The bug is that there's no
std::hash specialization for enum exp_opcode. This patch fixes the
problem by using gdb::hash_enum.
2021-03-15 Tom Tromey <tromey@adacore.com>
PR build/27579:
* rust-exp.y (maker_map): Use gdb::hash_enum.
* stap-probe.c (stap_maker_map): Use gdb::hash_enum.
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions