diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-16 19:05:28 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-29 16:14:32 -0600 |
commit | b3316ff1532571a111dcc27f4545640aafbdaffd (patch) | |
tree | a9f7cb28ff3f4bb280ce05425277c0c32f35c506 /gdb/break-catch-sig.c | |
parent | a48ddc0d6ab6ce60ecc7d20d704d3891b383dbf6 (diff) | |
download | gdb-b3316ff1532571a111dcc27f4545640aafbdaffd.zip gdb-b3316ff1532571a111dcc27f4545640aafbdaffd.tar.gz gdb-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-sig.c')
-rw-r--r-- | gdb/break-catch-sig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c index 8de11c9..8f6d396 100644 --- a/gdb/break-catch-sig.c +++ b/gdb/break-catch-sig.c @@ -317,7 +317,7 @@ create_signal_catchpoint (int tempflag, std::vector<gdb_signal> &&filter, struct gdbarch *gdbarch = get_current_arch (); std::unique_ptr<signal_catchpoint> c (new signal_catchpoint ()); - init_catchpoint (c.get (), gdbarch, tempflag, NULL, &vtable_breakpoint_ops); + init_catchpoint (c.get (), gdbarch, tempflag, nullptr); c->signals_to_be_caught = std::move (filter); c->catch_all = catch_all; |