From: Tom Tromey Date: Tue, 11 Mar 2025 17:22:59 +0000 (-0600) Subject: Use gdb unordered map in target.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b91c25f6cd62985aa9600cc7451d717456b2a573;p=thirdparty%2Fbinutils-gdb.git Use gdb unordered map in target.c This changes corelow.c to use gdb::unordered_map. Approved-By: Simon Marchi --- diff --git a/gdb/target.c b/gdb/target.c index b6d1abe82db..8d7f168db84 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -50,7 +50,7 @@ #include "gdbsupport/byte-vector.h" #include "gdbsupport/search.h" #include "terminal.h" -#include +#include "gdbsupport/unordered_map.h" #include "target-connection.h" #include "valprint.h" #include "cli/cli-decode.h" @@ -72,7 +72,7 @@ static int default_verify_memory (struct target_ops *self, TARGET_NAME" command that when invoked calls the factory registered here. The target_info object is associated with the command via the command's context. */ -static std::unordered_map +static gdb::unordered_map target_factories; /* The singleton debug target. */