On 14-08-19 16:41, Tom Tromey wrote:
> Internal testing showed that the macOS port did not build. The
> breakage was caused by the patch to remove the gdbarch.h include from
> defs.h. This patch fixes the problem.
> 2019-08-14 Tom Tromey <[hidden email]>
> * darwin-nat.c: Include gdbarch.h.
> * darwin-nat-info.c: Include gdbarch.h.
Committed similar for linux-nat-trad.c.
[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".