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/breakpoint.c | |
parent | a48ddc0d6ab6ce60ecc7d20d704d3891b383dbf6 (diff) | |
download | binutils-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/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index b29b021..c145916 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -7833,13 +7833,13 @@ disable_breakpoints_in_freed_objfile (struct objfile *objfile) void init_catchpoint (struct breakpoint *b, struct gdbarch *gdbarch, bool temp, - const char *cond_string, - const struct breakpoint_ops *ops) + const char *cond_string) { symtab_and_line sal; sal.pspace = current_program_space; - init_raw_breakpoint (b, gdbarch, sal, bp_catchpoint, ops); + init_raw_breakpoint (b, gdbarch, sal, bp_catchpoint, + &vtable_breakpoint_ops); if (cond_string == nullptr) b->cond_string.reset (); |