Fix gdb build on hppa-linux
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 12 Jun 2018 01:15:32 +0000 (21:15 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 12 Jun 2018 01:15:33 +0000 (21:15 -0400)
commit69c67a0b2a93ba8c431d1ebb90d57a1e4d0ec3a1
treec235b567531d0074f69df7921889088451247068
parent90b345f613e3ae8b21d2b5efd00a6970f57e578e
Fix gdb build on hppa-linux

Fixes:

  CXX    hppa-linux-nat.o
../../src/gdb/hppa-linux-nat.c:277:17: error: no 'void hppa_linux_nat_target::fetch_inferior_registers(regcache*, int)' member function declared in class 'hppa_linux_nat_target'
        int regno)
                 ^
../../src/gdb/hppa-linux-nat.c:224:1: error: 'void fetch_register(regcache*, int)' defined but not used [-Werror=unused-function]
 fetch_register (struct regcache *regcache, int regno)
 ^~~~~~~~~~~~~~

gdb/ChangeLog:

* gdb/hppa-linux-nat.c
(hppa_linux_nat_target::fetch_inferior_registers): Rename to
hppa_linux_nat_target::fetch_registers.
gdb/ChangeLog
gdb/hppa-linux-nat.c