aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-02-26 10:47:45 -0700
committerTom Tromey <tromey@adacore.com>2024-02-27 14:30:51 -0700
commit407ca654547b100903f7eab44d078a2440736f13 (patch)
tree72fde9f6404459b09dfccdabe34b1fc9f870a538
parentb452b96c1e57db42d50a42eb2f09f7c57681d073 (diff)
downloadgdb-407ca654547b100903f7eab44d078a2440736f13.zip
gdb-407ca654547b100903f7eab44d078a2440736f13.tar.gz
gdb-407ca654547b100903f7eab44d078a2440736f13.tar.bz2
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.
-rw-r--r--gdb/buildsym.h1
-rw-r--r--gdb/psymtab.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 79ece79..c1eed24 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 334a941..a831e5e 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"