From 03ada39ea590fec3bd722e9ea776049213da8b58 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 2 May 2022 16:08:19 -0400 Subject: 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 --- gdb/breakpoint.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/breakpoint.h') 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 -- cgit v1.1