From: Tom Tromey Date: Mon, 26 Feb 2024 17:47:45 +0000 (-0700) Subject: Two minor addrmap cleanups X-Git-Tag: gdb-15-branchpoint~851 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=407ca654547b100903f7eab44d078a2440736f13;p=thirdparty%2Fbinutils-gdb.git Two minor addrmap cleanups While working on a different patch, I found a couple of simple addrmap cleanups. In one case, a forward declaration is no longer needed, as the header now includes addrmap.h. In the other, an include of addrmap.h is no longer needed. Tested by rebuilding. --- diff --git a/gdb/buildsym.h b/gdb/buildsym.h index 79ece794559..c1eed247d25 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -25,7 +25,6 @@ struct objfile; struct symbol; -struct addrmap; struct compunit_symtab; enum language; diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 334a9417055..a831e5eec40 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -24,7 +24,6 @@ #include "block.h" #include "filenames.h" #include "source.h" -#include "addrmap.h" #include "gdbtypes.h" #include "ui-out.h" #include "command.h"