diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-05-02 16:08:19 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-05-02 16:14:23 -0400 |
commit | 03ada39ea590fec3bd722e9ea776049213da8b58 (patch) | |
tree | 4208fe956fbcf6ba375031f8aabacb56d84a8a5d /gdb/breakpoint.h | |
parent | b318629fe742b2d9595eee1a2c35e81149ba33b2 (diff) | |
download | gdb-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.h | 3 |
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 |