From 72a6691321d40277ebf9778fefdc328d1605d65e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 11 Mar 2025 09:30:36 -0600 Subject: [PATCH] Use gdb unordered set in breakpoint.c This changes breakpoint.c to use gdb:unordered_set. Approved-By: Simon Marchi --- gdb/breakpoint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ()) { -- 2.47.2