]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Use gdb unordered set in breakpoint.c
authorTom Tromey <tom@tromey.com>
Tue, 11 Mar 2025 15:30:36 +0000 (09:30 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 18 Mar 2025 11:32:03 +0000 (05:32 -0600)
This changes breakpoint.c to use gdb:unordered_set.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/breakpoint.c

index 34e32303b02c38a35f0680c06c3020ec66aa3e58..3085ca111bfc20bf331ffa6f099e9610997e907d 100644 (file)
@@ -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 ())
     {