gdb: include gdbarch.h in hppa-linux-nat.c
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 28 Sep 2019 18:48:22 +0000 (14:48 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 28 Sep 2019 18:48:22 +0000 (14:48 -0400)
commitad75efa628656716982f2674008952bfd2c268af
tree414c5a57b0db4c8b67e05ab57f11a35d4bb2d0cb
parentea8e302e12bd155a3acd79290ec87d7dda2cce61
gdb: include gdbarch.h in hppa-linux-nat.c

hppa-linux-nat.c fails to build due to the gdbarch stuff not being
declared, for example:

    hppa-linux-nat.c: In function ‘void fetch_register(regcache*, int)’:
    hppa-linux-nat.c:230:7: error: ‘gdbarch_cannot_fetch_register’ was not declared in this scope
       if (gdbarch_cannot_fetch_register (gdbarch, regno))

Include gdbarch.h to fix it.

gdb/ChangeLog:

PR gdb/25045
* hppa-linux-nat.c: Include gdbarch.h.
gdb/ChangeLog
gdb/hppa-linux-nat.c