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.
This commit is contained in:
Tom Tromey 2022-05-21 10:17:38 -06:00
parent 2c9a6d728e
commit aef4b7a5cc
2 changed files with 10 additions and 20 deletions

View file

@ -11493,13 +11493,6 @@ breakpoint::print_recreate (struct ui_file *fp) const
internal_error_pure_virtual_called ();
}
std::vector<symtab_and_line>
breakpoint::decode_location_spec (location_spec *locspec,
program_space *search_pspace)
{
internal_error_pure_virtual_called ();
}
/* Default breakpoint_ops methods. */
void