aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-08-25 15:38:44 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-08-26 10:32:08 -0400
commit403c71fdace8e0f16807470ec1c3dc505bcb78d4 (patch)
tree12c600ecea6667bf7fa17bb4f3eb7db00babbbac /gdb/breakpoint.c
parent4fd404c298db4e19dbf87331d3b02f451af4c5cd (diff)
downloadfsf-binutils-gdb-403c71fdace8e0f16807470ec1c3dc505bcb78d4.zip
fsf-binutils-gdb-403c71fdace8e0f16807470ec1c3dc505bcb78d4.tar.gz
fsf-binutils-gdb-403c71fdace8e0f16807470ec1c3dc505bcb78d4.tar.bz2
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
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
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;