Merge probe and ordinary breakpoints
authorTom Tromey <tom@tromey.com>
Mon, 17 Jan 2022 00:25:52 +0000 (17:25 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 29 Apr 2022 22:14:32 +0000 (16:14 -0600)
commit5d926615e9684d1f9a95801106300ade64548dcc
treea7e165954adef7c7724409646ce5623eed611a18
parent823b50f3857846fe7cd8fb8831a13797903885b8
Merge probe and ordinary breakpoints

Right now, probe breakpoints are handled by a separate ops object.
However, they differ only in a small way from ordinary breakpoints,
and furthermore can be distinguished by their "probe" object.

This patch merges the two cases.  This avoids having to introduce a
new bp_ constant (which can be quite subtle to do correctly) and a new
subclass.
gdb/breakpoint.c