Change location_spec_to_sals to a method
authorTom Tromey <tom@tromey.com>
Sat, 21 May 2022 16:00:00 +0000 (10:00 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 14 Aug 2022 00:47:55 +0000 (18:47 -0600)
commit2c9a6d728e3ab63d8338b5e1f831d2c1eead8d67
treeb6e31340a9ab99796e30b671c92726d251be2017
parentb3d5660a7adf2e1e3846976ff4346c6a9b323978
Change location_spec_to_sals to a method

location_spec_to_sals is only ever called for code breakpoints, so
make it a protected method there.
gdb/breakpoint.c
gdb/breakpoint.h