summaryrefslogtreecommitdiff
path: root/opcodes/pdp11-dis.c
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2018-08-29 10:52:42 -0700
committerJim Wilson <jimw@sifive.com>2018-08-29 10:52:42 -0700
commit4d3928d7e0a141e0fb16405d33b375cbe2f13123 (patch)
tree0ca008facc6f6c25e2b65a1df25ce24af22c2c7b /opcodes/pdp11-dis.c
parent7a6dbc2fdb2323c35e981f93236f323e9d7c0b24 (diff)
downloadbinutils-gdb-4d3928d7e0a141e0fb16405d33b375cbe2f13123.tar.gz
Fix riscv-linux native gdb build failure.
The linux kernel uses NT_PRFPREG. Glibc before BZ 14890 defines NT_FPREGSET. After it defines both. Avoid glibc version dependency by using the gdb header file instead of the glibc header file, and the macro name that gdb defines which is NT_FPREGSET. gdb/ * riscv-linux-nat.c: Include elf/common.h instead of elf.h. (riscv_linux_nat_target::fetch_registers): Use NT_FPREGSET instead of NT_PRFPREG. (riscv_linux_nat_target::store_registers): Likewise.
Diffstat (limited to 'opcodes/pdp11-dis.c')
0 files changed, 0 insertions, 0 deletions