aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-05-21 10:17:38 -0600
committerTom Tromey <tom@tromey.com>2022-08-13 18:47:55 -0600
commitaef4b7a5cc7ba4fb681a0675529000d91dc0aa72 (patch)
treee24736bf3e9a7ae8312b9f24c7351222468d68e9 /gdb/breakpoint.c
parent2c9a6d728e3ab63d8338b5e1f831d2c1eead8d67 (diff)
downloadfsf-binutils-gdb-aef4b7a5cc7ba4fb681a0675529000d91dc0aa72.zip
fsf-binutils-gdb-aef4b7a5cc7ba4fb681a0675529000d91dc0aa72.tar.gz
fsf-binutils-gdb-aef4b7a5cc7ba4fb681a0675529000d91dc0aa72.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index b24fbd1..2fe74ea 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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