]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Two minor addrmap cleanups
authorTom Tromey <tromey@adacore.com>
Mon, 26 Feb 2024 17:47:45 +0000 (10:47 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 27 Feb 2024 21:30:51 +0000 (14:30 -0700)
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.

gdb/buildsym.h
gdb/psymtab.c

index 79ece7945590080c1a98a26539bcae8c664723bc..c1eed247d259e884278f8c60981daeceb0e7b0fb 100644 (file)
@@ -25,7 +25,6 @@
 
 struct objfile;
 struct symbol;
-struct addrmap;
 struct compunit_symtab;
 enum language;
 
index 334a94170554d4d7adf4a8fb2af693786daec2e2..a831e5eec40b82e32478ad2e8b056a5931b35649 100644 (file)
@@ -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"