aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-throw.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-throw.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-throw.c')
-rw-r--r--gdb/break-catch-throw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c
index f9bcc8d..4b79e0f 100644
--- a/gdb/break-catch-throw.c
+++ b/gdb/break-catch-throw.c
@@ -365,8 +365,7 @@ handle_gnu_v3_exceptions (int tempflag, std::string &&except_rx,
std::unique_ptr<exception_catchpoint> cp (new exception_catchpoint ());
- init_catchpoint (cp.get (), get_current_arch (), tempflag, cond_string,
- &vtable_breakpoint_ops);
+ init_catchpoint (cp.get (), get_current_arch (), tempflag, cond_string);
cp->kind = ex_event;
cp->exception_rx = std::move (except_rx);
cp->pattern = std::move (pattern);