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/infcmd.c | |
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/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 0497ad0..7d5ec77 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -885,12 +885,10 @@ step_1 (int skip_subroutines, int single_inst, const char *count_string) proceed ((CORE_ADDR) -1, GDB_SIGNAL_DEFAULT); else { - int proceeded; - /* Stepped into an inline frame. Pretend that we've stopped. */ thr->thread_fsm ()->clean_up (thr); - proceeded = normal_stop (); + bool proceeded = normal_stop (); if (!proceeded) inferior_event_handler (INF_EXEC_COMPLETE); all_uis_check_sync_execution_done (); |