aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-load.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-16 19:05:28 -0700
committerTom Tromey <tom@tromey.com>2022-04-29 16:14:32 -0600
commitb3316ff1532571a111dcc27f4545640aafbdaffd (patch)
treea9f7cb28ff3f4bb280ce05425277c0c32f35c506 /gdb/break-catch-load.c
parenta48ddc0d6ab6ce60ecc7d20d704d3891b383dbf6 (diff)
downloadbinutils-b3316ff1532571a111dcc27f4545640aafbdaffd.zip
binutils-b3316ff1532571a111dcc27f4545640aafbdaffd.tar.gz
binutils-b3316ff1532571a111dcc27f4545640aafbdaffd.tar.bz2
Remove breakpoint_ops from init_catchpoint
init_catchpoint is only ever passed a single breakpoint_ops pointer, so remove the parameter.
Diffstat (limited to 'gdb/break-catch-load.c')
-rw-r--r--gdb/break-catch-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-load.c b/gdb/break-catch-load.c
index 0a27b05..699fbc1 100644
--- a/gdb/break-catch-load.c
+++ b/gdb/break-catch-load.c
@@ -227,7 +227,7 @@ add_solib_catchpoint (const char *arg, bool is_load, bool is_temp, bool enabled)
}
c->is_load = is_load;
- init_catchpoint (c.get (), gdbarch, is_temp, NULL, &vtable_breakpoint_ops);
+ init_catchpoint (c.get (), gdbarch, is_temp, NULL);
c->enable_state = enabled ? bp_enabled : bp_disabled;