Make gdbserver find_register_by_number static
authorAlan Hayward <alan.hayward@arm.com>
Fri, 23 Mar 2018 11:17:22 +0000 (11:17 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Fri, 23 Mar 2018 14:49:09 +0000 (14:49 +0000)
commitdff7492c9b221aacd4efa6675bb288dfb5d50f80
tree914a6406fcf307dad3581725f6c091cb8b5e52f1
parent8fd75781892c7458702f72b3b9cb1927609716de
Make gdbserver find_register_by_number static

gdbserver/
* regcache.c (find_register_by_number): Make static.
(find_regno): Use find_register_by_number
* regcache.h (struct reg): Remove declaration.
gdb/gdbserver/ChangeLog
gdb/gdbserver/regcache.c
gdb/gdbserver/regcache.h