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
This commit is contained in:
Simon Marchi
2022-05-02 16:08:19 -04:00
parent b318629fe7
commit 03ada39ea5
2 changed files with 11 additions and 18 deletions

View File

@@ -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