Fix Arm build error
authorAlan Hayward <alan.hayward@arm.com>
Mon, 18 Mar 2019 16:13:12 +0000 (16:13 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Tue, 19 Mar 2019 09:59:55 +0000 (09:59 +0000)
commit3a0e45b2f187dae8cba444e9b31f05cee0e2d6ae
treea74496c42638d294934f2206fbb03b71c014cb63
parent4faa59bbb7ad8665b6eb7c93bdb726e412850811
Fix Arm build error

The following commit broke the build for Arm:
d3a70e03cf51c8fb6bc183eaff7559edffec2045
Change iterate_over_lwps to take a gdb::function_view

Correct the changes made to arm_linux_insert_hw_breakpoint1 and make
similar changes to arm_linux_remove_hw_breakpoint1.

2019-03-18  Alan Hayward  <alan.hayward@arm.com>

* arm-linux-nat.c (arm_linux_insert_hw_breakpoint1): Fix
variable names.
(arm_linux_remove_hw_breakpoint1): Use a gdb::function_view.
gdb/ChangeLog
gdb/arm-linux-nat.c