aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-15 15:46:54 -0700
committerTom Tromey <tom@tromey.com>2022-04-29 16:14:31 -0600
commit7dd8e7ae28cb656651ed12af5b045b55cdeb9df6 (patch)
tree34455e1dda62c1bf90fafb6ef7bbad12d6d90118 /gdb/mi
parent5ad71d67aef6b2885fcaf52b9151af6e28e9648a (diff)
downloadgdb-7dd8e7ae28cb656651ed12af5b045b55cdeb9df6.zip
gdb-7dd8e7ae28cb656651ed12af5b045b55cdeb9df6.tar.gz
gdb-7dd8e7ae28cb656651ed12af5b045b55cdeb9df6.tar.bz2
Convert ordinary breakpoints to vtable ops
This converts "ordinary" breakpoint to use vtable_breakpoint_ops. Recall that an ordinary breakpoint is both the kind normally created by users, and also a base class used by other classes.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmd-break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c
index a5c7852..0b8ae5d 100644
--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -332,7 +332,7 @@ mi_cmd_break_insert_1 (int dprintf, const char *command, char **argv, int argc)
else
{
type_wanted = hardware ? bp_hardware_breakpoint : bp_breakpoint;
- ops = &bkpt_breakpoint_ops;
+ ops = &vtable_breakpoint_ops;
}
if (is_explicit)