From 403c71fdace8e0f16807470ec1c3dc505bcb78d4 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 25 Aug 2022 15:38:44 -0400 Subject: gdb: change bpstat_print's kind parameter to target_waitkind Change from int to target_waitkind, which is really what is is. While at it, remove some outdated doc. The return value is described by a relatively self-describing enum, not a numerical value like the doc says. Change-Id: Id899c853a857c7891c45e5b1639024067d5b59cd --- gdb/breakpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/breakpoint.c') diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 2fe74ea..8f0b19f 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -4803,7 +4803,7 @@ print_solib_event (bool is_catchpoint) further info to be printed. */ enum print_stop_action -bpstat_print (bpstat *bs, int kind) +bpstat_print (bpstat *bs, target_waitkind kind) { enum print_stop_action val; -- cgit v1.1