gdb: include gdbarch.h in all files extending gdbarch_tdep
Commit 345bd07cce
("gdb: fix gdbarch_tdep ODR violation") made a bunch
of files define a *_gdbarch_tdep class that inherits from a gdbarch_tdep
base. But some of these files don't include gdbarch.h, where
gdbarch_tdep is defined. This may cause build errors if gdbarch.h isn't
already included by chance by some other header file. Avoid this by
making them include gdbarch.h.
Change-Id: If433d302007e274daa4f656cfc94f769cf1aa68a
This commit is contained in:
parent
557b4d7650
commit
76eb8ef1ce
24 changed files with 31 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
|||
#include "prologue-value.h"
|
||||
#include "cgen/bitset.h"
|
||||
#include "infcall.h"
|
||||
#include "gdbarch.h"
|
||||
|
||||
/* Get the user's customized MeP coprocessor register names from
|
||||
libopcodes. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue