aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-03-11 09:30:36 -0600
committerTom Tromey <tom@tromey.com>2025-03-18 05:32:03 -0600
commit72a6691321d40277ebf9778fefdc328d1605d65e (patch)
tree874e42d10c7d5e175a7a68bf5085d20195c83e14 /gdb
parent536f59548e5cee7a0bb4566a61b610c11cdbb462 (diff)
downloadbinutils-72a6691321d40277ebf9778fefdc328d1605d65e.zip
binutils-72a6691321d40277ebf9778fefdc328d1605d65e.tar.gz
binutils-72a6691321d40277ebf9778fefdc328d1605d65e.tar.bz2
Use gdb unordered set in breakpoint.c
This changes breakpoint.c to use gdb:unordered_set. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/breakpoint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 34e3230..3085ca1 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -70,7 +70,6 @@
#include "tid-parse.h"
#include "cli/cli-style.h"
#include "cli/cli-decode.h"
-#include <unordered_set>
#include "break-cond-parse.h"
/* readline include files */
@@ -7860,7 +7859,7 @@ check_longjmp_breakpoint_for_call_dummy (struct thread_info *tp)
/* We would need to delete breakpoints other than the current one while
iterating, so all_breakpoints_safe is not sufficient to make that safe.
Save all breakpoints to delete in that set and delete them at the end. */
- std::unordered_set<breakpoint *> to_delete;
+ gdb::unordered_set<breakpoint *> to_delete;
for (struct breakpoint &b : all_breakpoints ())
{