aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
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/breakpoint.h
parenta48ddc0d6ab6ce60ecc7d20d704d3891b383dbf6 (diff)
downloadgdb-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/breakpoint.h')
-rw-r--r--gdb/breakpoint.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 10e7410..8b92dc4 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -1524,13 +1524,11 @@ extern void
/* Initialize a new breakpoint of the bp_catchpoint kind. If TEMP
is true, then make the breakpoint temporary. If COND_STRING is
- not NULL, then store it in the breakpoint. OPS, if not NULL, is
- the breakpoint_ops structure associated to the catchpoint. */
+ not NULL, then store it in the breakpoint. */
extern void init_catchpoint (struct breakpoint *b,
struct gdbarch *gdbarch, bool temp,
- const char *cond_string,
- const struct breakpoint_ops *ops);
+ const char *cond_string);
/* Add breakpoint B on the breakpoint list, and notify the user, the
target and breakpoint_created observers of its existence. If