summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-16 19:03:46 -0700
committerTom Tromey <tom@tromey.com>2022-04-29 16:14:32 -0600
commita48ddc0d6ab6ce60ecc7d20d704d3891b383dbf6 (patch)
tree8454ff36f66d6155192cda44860c0a9a14948461 /gdb/breakpoint.c
parent8d89123dc22188d5560f452bc52baba50d154a91 (diff)
Remove breakpoint_ops from init_ada_exception_breakpoint
init_ada_exception_breakpoint is only ever passed a single breakpoint_ops structure, so remove the parameter.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index ecea702462..b29b021662 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -10631,7 +10631,6 @@ init_ada_exception_breakpoint (struct breakpoint *b,
struct gdbarch *gdbarch,
struct symtab_and_line sal,
const char *addr_string,
- const struct breakpoint_ops *ops,
int tempflag,
int enabled,
int from_tty)
@@ -10654,7 +10653,8 @@ init_ada_exception_breakpoint (struct breakpoint *b,
enough for now, though. */
}
- init_raw_breakpoint (b, gdbarch, sal, bp_catchpoint, ops);
+ init_raw_breakpoint (b, gdbarch, sal, bp_catchpoint,
+ &vtable_breakpoint_ops);
b->enable_state = enabled ? bp_enabled : bp_disabled;
b->disposition = tempflag ? disp_del : disp_donttouch;