gdb: include gdbsupport/gdb_obstack.h in addrmap.h

This header file uses auto_obstack, found in gdbsupport/gdb_obstack.h.
This fixes an error shown when editing addrmap.h with clangd, and makes
it so addrmap.h includes what it uses.

Change-Id: I0b0c8d26638e2150fcb65c601098ed9df5a8945a
This commit is contained in:
Simon Marchi
2024-08-29 12:07:32 -04:00
parent ae60acec42
commit f70987f0b9

View File

@@ -20,8 +20,9 @@
#ifndef ADDRMAP_H
#define ADDRMAP_H
#include "splay-tree.h"
#include "gdbsupport/function-view.h"
#include "gdbsupport/gdb_obstack.h"
#include "splay-tree.h"
/* An address map is essentially a table mapping CORE_ADDRs onto GDB
data structures, like blocks, symtabs, partial symtabs, and so on.