Move works_in_software_mode to watchpoint
authorTom Tromey <tom@tromey.com>
Sat, 30 Apr 2022 14:06:39 +0000 (08:06 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 6 May 2022 18:03:34 +0000 (12:03 -0600)
commit5a61e176877b17a0fdca25a298d296800353af10
tree8032963191768e7587814174e597932221928e7d
parenta6860f3ad2d0ee89ee8b4a7f257b7fdcac84b5c4
Move works_in_software_mode to watchpoint

works_in_software_mode is only useful for watchpoints.  This patch
moves it from breakpoint to watchpoint, and changes it to return bool.
gdb/breakpoint.c
gdb/breakpoint.h