diff options
author | Tom de Vries <tdevries@suse.de> | 2019-08-15 08:14:31 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-08-15 08:14:31 +0200 |
commit | 2208ee917050bcc901c7faefdee257ffbf8ef2ab (patch) | |
tree | cd7df6870af80ea0b678646288f48f23daef1c32 /gdb/gdbcmd.h | |
parent | fc9e754460ccf1c893fc9e67c02c49f58f1bd38e (diff) | |
download | gdb-2208ee917050bcc901c7faefdee257ffbf8ef2ab.zip gdb-2208ee917050bcc901c7faefdee257ffbf8ef2ab.tar.gz gdb-2208ee917050bcc901c7faefdee257ffbf8ef2ab.tar.bz2 |
[gdb] Fix gdb build on mips64-linux
When compiling for mips64-linux, we get:
...
src/gdb/linux-nat-trad.c:139:12: error: ‘gdbarch_num_regs’ was not declared \
in this scope
139 | regnum < gdbarch_num_regs (regcache->arch ());
...
Fix this by including gdbarch.h in linux-nat-trad.c, similar to commit
b1c896b365 "Fix gdb build on macOS".
Build on mips64-linux.
gdb/ChangeLog:
2019-08-15 Tom de Vries <tdevries@suse.de>
* linux-nat-trad.c: Include gdbarch.h.
Diffstat (limited to 'gdb/gdbcmd.h')
0 files changed, 0 insertions, 0 deletions