diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-10-30 16:19:11 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-10-31 13:28:14 -0500 |
commit | 75cafaa61a0244016a2c2ee1d0b2742d674d7373 (patch) | |
tree | e259080487ae88c096bc987b2c88ab0f34f714ea /gdb/gdbserver/linux-cris-low.c | |
parent | f78d04905a457abde48c8f521ec2303e84683100 (diff) | |
download | gdb-75cafaa61a0244016a2c2ee1d0b2742d674d7373.zip gdb-75cafaa61a0244016a2c2ee1d0b2742d674d7373.tar.gz gdb-75cafaa61a0244016a2c2ee1d0b2742d674d7373.tar.bz2 |
Convert int to bool in agent.c
Also moves an int declaration inside the for loop.
Code cleanup, no change in behavior intended.
gdb/ChangeLog:
2019-10-31 Christian Biesinger <cbiesinger@google.com>
* gdbsupport/agent.c (debug_agent): Change type to bool.
(use_agent): Likewise.
(all_agent_symbols_look_up): Likewise.
(agent_loaded_p): Change return value to bool.
(agent_look_up_symbols): Update.
(agent_capability_check): Change return value to bool.
* gdbsupport/agent.h (agent_loaded_p): Likewise.
(debug_agent): Change type to bool.
(use_agent): Likewise.
(agent_capability_check): Change return value to bool.
gdb/gdbserver/ChangeLog:
2019-10-31 Christian Biesinger <cbiesinger@google.com>
* ax.h (debug_agent): Remove duplicate declaration.
Change-Id: Icb28a65fcc8c7108bcd59287e6be66bf56f8ccb5
Diffstat (limited to 'gdb/gdbserver/linux-cris-low.c')
0 files changed, 0 insertions, 0 deletions