diff options
author | Christian Groessler <chris@groessler.org> | 2019-09-11 22:19:45 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2019-09-18 15:18:39 -0400 |
commit | 7a27b85f6d9b5eea9bd1493f903158fbea4b2231 (patch) | |
tree | 3e4985b3a5ff774aaadadbcfea4cbdf79bb27376 /bfd/cpu-xc16x.c | |
parent | f64eea3a594042c9cf499b17b5b166276275a051 (diff) | |
download | gdb-7a27b85f6d9b5eea9bd1493f903158fbea4b2231.zip gdb-7a27b85f6d9b5eea9bd1493f903158fbea4b2231.tar.gz gdb-7a27b85f6d9b5eea9bd1493f903158fbea4b2231.tar.bz2 |
gdb: Fix native build on Linux/Alpha.
Fixes:
CXX alpha-linux-nat.o
alpha-linux-nat.c: In member function 'virtual CORE_ADDR alpha_linux_nat_target::register_u_offset(gdbarch*, int, int)':
alpha-linux-nat.c:93:16: error: 'gdbarch_pc_regnum' was not declared in this scope
if (regno == gdbarch_pc_regnum (gdbarch))
^~~~~~~~~~~~~~~~~
alpha-linux-nat.c:93:16: note: suggested alternative: 'gdbarch_info'
if (regno == gdbarch_pc_regnum (gdbarch))
^~~~~~~~~~~~~~~~~
gdbarch_info
alpha-linux-nat.c:97:15: error: 'gdbarch_fp0_regnum' was not declared in this scope
if (regno < gdbarch_fp0_regnum (gdbarch))
^~~~~~~~~~~~~~~~~~
alpha-linux-nat.c:97:15: note: suggested alternative: 'gdbarch_info'
if (regno < gdbarch_fp0_regnum (gdbarch))
^~~~~~~~~~~~~~~~~~
gdbarch_info
make[2]: *** [Makefile:1638: alpha-linux-nat.o] Error 1
make[2]: Leaving directory '/home/chris/tmp/binutils-gdb/gdb'
2019-09-12 Christian Groessler <chris@groessler.org>
* alpha-linux-nat.c: Include gdbarch.h.
Diffstat (limited to 'bfd/cpu-xc16x.c')
0 files changed, 0 insertions, 0 deletions