Move decode_location_spec to code_breakpoint
authorTom Tromey <tom@tromey.com>
Sat, 21 May 2022 16:17:38 +0000 (10:17 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 14 Aug 2022 00:47:55 +0000 (18:47 -0600)
commitaef4b7a5cc7ba4fb681a0675529000d91dc0aa72
treee24736bf3e9a7ae8312b9f24c7351222468d68e9
parent2c9a6d728e3ab63d8338b5e1f831d2c1eead8d67
Move decode_location_spec to code_breakpoint

breakpoint::decode_location_spec just asserts if called.  It turned
out to be relatively easy to remove this method from breakpoint and
instead move the base implementation to code_breakpoint.
gdb/breakpoint.c
gdb/breakpoint.h