From: Tom Tromey Date: Tue, 11 Mar 2025 15:30:36 +0000 (-0600) Subject: Use gdb unordered set in breakpoint.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72a6691321d40277ebf9778fefdc328d1605d65e;p=thirdparty%2Fbinutils-gdb.git Use gdb unordered set in breakpoint.c This changes breakpoint.c to use gdb:unordered_set. Approved-By: Simon Marchi --- diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 34e32303b02..3085ca111bf 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 #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 to_delete; + gdb::unordered_set to_delete; for (struct breakpoint &b : all_breakpoints ()) {