diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-10-17 15:01:24 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-01-13 16:34:10 +0000 |
commit | 8dd08de7e48850496321548099ef86d3275679b9 (patch) | |
tree | 1efd0eec7916a9d02d18b645d8d36da7e09752a9 /gdb/infrun.h | |
parent | 6f9f448118eaeaf006f867a25699aef7d8c72770 (diff) | |
download | gdb-8dd08de7e48850496321548099ef86d3275679b9.zip gdb-8dd08de7e48850496321548099ef86d3275679b9.tar.gz gdb-8dd08de7e48850496321548099ef86d3275679b9.tar.bz2 |
gdb: int to bool conversion for normal_stop
Change the return type of normal_stop (infrun.c) from int to bool.
Update callers.
I've also converted the (void) to () in the function declaration and
definition, given I was changing those lines anyway.
There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/infrun.h')
-rw-r--r-- | gdb/infrun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.h b/gdb/infrun.h index 19e6815..43fd1b4 100644 --- a/gdb/infrun.h +++ b/gdb/infrun.h @@ -149,7 +149,7 @@ extern process_stratum_target *user_visible_resume_target (ptid_t resume_ptid); appropriate messages, remove breakpoints, give terminal our modes, and run the stop hook. Returns true if the stop hook proceeded the target, false otherwise. */ -extern int normal_stop (void); +extern bool normal_stop (); /* Return the cached copy of the last target/ptid/waitstatus returned by target_wait(). The data is actually cached by handle_inferior_event(), |