]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Fix GDB build with GCC 4.8.2
authorTom Tromey <tromey@adacore.com>
Mon, 15 Mar 2021 14:59:17 +0000 (08:59 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 15 Mar 2021 17:30:51 +0000 (11:30 -0600)
commit675da9a57e0ab1c384e0dfd20ddf715a83c18673
tree6de259cf85f6c945919c93b079a5b04a6675f631
parent4800761a71cf4eb1024ab586385be4832d62aabb
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.
gdb/ChangeLog
gdb/rust-exp.y
gdb/stap-probe.c