Add an assertion to clone_momentary_breakpoint
authorTom Tromey <tom@tromey.com>
Thu, 13 Jan 2022 23:50:18 +0000 (16:50 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 29 Apr 2022 22:14:30 +0000 (16:14 -0600)
commit16922ea6adfe975e42aa2c6bf4a464069754496f
treea102df18762bbb73f619428f14b2c2e8efa0c08e
parent4e9e993a7e7e741703474f0ae4e311657cec4a60
Add an assertion to clone_momentary_breakpoint

This adds an assertion to clone_momentary_breakpoint.  This will
eventually be removed, but in the meantime is is useful for helping
convince oneself that momentary breakpoints will always use
momentary_breakpoint_ops.  This understanding will help when cleaning
up the code later.
gdb/breakpoint.c