aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-05-02 16:08:19 -0400
committerSimon Marchi <simon.marchi@efficios.com>2022-05-02 16:14:23 -0400
commit03ada39ea590fec3bd722e9ea776049213da8b58 (patch)
tree4208fe956fbcf6ba375031f8aabacb56d84a8a5d /gdb/breakpoint.h
parentb318629fe742b2d9595eee1a2c35e81149ba33b2 (diff)
downloadgdb-03ada39ea590fec3bd722e9ea776049213da8b58.zip
gdb-03ada39ea590fec3bd722e9ea776049213da8b58.tar.gz
gdb-03ada39ea590fec3bd722e9ea776049213da8b58.tar.bz2
gdb: remove type_wanted parameter from a few functions
The type_wanted value, passed down to the create_sals_from_location callback, is never used. Remove it. Change-Id: Ic363ee13f6af593a3e875ff7fe46de130cdc190c
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 94ae706..1322bc1 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -568,8 +568,7 @@ struct breakpoint_ops
This function is called inside `create_breakpoint'. */
void (*create_sals_from_location) (struct event_location *location,
- struct linespec_result *canonical,
- enum bptype type_wanted);
+ struct linespec_result *canonical);
/* This method will be responsible for creating a breakpoint given its SALs.
Usually, it just calls `create_breakpoints_sal' (for ordinary