From b3316ff1532571a111dcc27f4545640aafbdaffd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 16 Jan 2022 19:05:28 -0700 Subject: Remove breakpoint_ops from init_catchpoint init_catchpoint is only ever passed a single breakpoint_ops pointer, so remove the parameter. --- gdb/break-catch-exec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/break-catch-exec.c') diff --git a/gdb/break-catch-exec.c b/gdb/break-catch-exec.c index 9d84fed..ac4ea18 100644 --- a/gdb/break-catch-exec.c +++ b/gdb/break-catch-exec.c @@ -204,8 +204,7 @@ catch_exec_command_1 (const char *arg, int from_tty, error (_("Junk at end of arguments.")); std::unique_ptr c (new exec_catchpoint ()); - init_catchpoint (c.get (), gdbarch, temp, cond_string, - &vtable_breakpoint_ops); + init_catchpoint (c.get (), gdbarch, temp, cond_string); c->exec_pathname.reset (); install_breakpoint (0, std::move (c), 1); -- cgit v1.1