aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-03-11 11:18:41 -0600
committerTom Tromey <tom@tromey.com>2025-03-18 05:32:03 -0600
commitff64da7cfdc81b68a064198d7e1e88810f87454d (patch)
tree29a43aed98dc4566649334478a89dd4e7a3322ee /gdb
parent57a99efc0ad6ceaaeab179f6904a36ff62abc8cb (diff)
downloadbinutils-ff64da7cfdc81b68a064198d7e1e88810f87454d.zip
binutils-ff64da7cfdc81b68a064198d7e1e88810f87454d.tar.gz
binutils-ff64da7cfdc81b68a064198d7e1e88810f87454d.tar.bz2
Use gdb unordered map in stap-probe.c
This changes stap-probe.c to use gdb::unordered_map. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/stap-probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 38ea199..b312b38 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 <unordered_map>
+#include "gdbsupport/unordered_map.h"
#include <ctype.h>
@@ -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<exp_opcode, binop_maker_ftype *> stap_maker_map;
+static gdb::unordered_map<exp_opcode, binop_maker_ftype *> stap_maker_map;
/* Helper function to create a binary operation. */
static expr::operation_up