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-exec.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-exec.c')
-rw-r--r-- | gdb/break-catch-exec.c | 3 |
1 files changed, 1 insertions, 2 deletions
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<exec_catchpoint> 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); |