From: Tom Tromey Date: Tue, 11 Mar 2025 17:18:41 +0000 (-0600) Subject: Use gdb unordered map in stap-probe.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff64da7cfdc81b68a064198d7e1e88810f87454d;p=thirdparty%2Fbinutils-gdb.git Use gdb unordered map in stap-probe.c This changes stap-probe.c to use gdb::unordered_map. Approved-By: Simon Marchi --- diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c index 38ea199edd7..b312b38db04 100644 --- a/gdb/stap-probe.c +++ b/gdb/stap-probe.c @@ -37,7 +37,7 @@ #include "language.h" #include "elf-bfd.h" #include "expop.h" -#include +#include "gdbsupport/unordered_map.h" #include @@ -434,7 +434,7 @@ typedef expr::operation_up binop_maker_ftype (expr::operation_up &&, expr::operation_up &&); /* Map from an expression opcode to a function that can create a binary operation of that type. */ -static std::unordered_map stap_maker_map; +static gdb::unordered_map stap_maker_map; /* Helper function to create a binary operation. */ static expr::operation_up