diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-05-07 16:49:24 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-05-07 17:00:25 +0100 |
commit | 8a82de5884386be4c10f16eb55a94993ac6ea858 (patch) | |
tree | 692aff8cc94682dff2d233f0160ad628ed4b929d /gdb/inferior.h | |
parent | bedc473418aa3b595a985e4adbbeb7864c5891e3 (diff) | |
download | fsf-binutils-gdb-8a82de5884386be4c10f16eb55a94993ac6ea858.zip fsf-binutils-gdb-8a82de5884386be4c10f16eb55a94993ac6ea858.tar.gz fsf-binutils-gdb-8a82de5884386be4c10f16eb55a94993ac6ea858.tar.bz2 |
gdb: some int to bool conversion
Change int parameter to bool in remote_notice_new_inferior (remote.c)
and notice_new_inferior (infcmd.c), and update the callers.
There should be no user visible changes after this commit.
gdb/ChangeLog:
* infcmd.c (notice_new_inferior): Change parameter type.
* inferior.h (notice_new_inferior): Change parameter type.
* remote.c (remote_notice_new_inferior): Change parameter type to
bool. Also update type of local variable to bool.
(remote_target::update_thread_list): Change type of local variable
to bool.
(remote_target::process_stop_reply): Pass bool instead of int to
remote_notice_new_inferior.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 4a143c3..f4b8b02 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -218,7 +218,7 @@ using delete_longjmp_breakpoint_cleanup extern void detach_command (const char *, int); -extern void notice_new_inferior (struct thread_info *, int, int); +extern void notice_new_inferior (struct thread_info *, bool, int); extern struct value *get_return_value (struct value *function, struct type *value_type); |