Convert int to bool in agent.c
authorChristian Biesinger <cbiesinger@google.com>
Wed, 30 Oct 2019 21:19:11 +0000 (16:19 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Thu, 31 Oct 2019 18:28:14 +0000 (13:28 -0500)
commit75cafaa61a0244016a2c2ee1d0b2742d674d7373
treee259080487ae88c096bc987b2c88ab0f34f714ea
parentf78d04905a457abde48c8f521ec2303e84683100
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
gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/ax.h
gdb/gdbsupport/agent.c
gdb/gdbsupport/agent.h
This page took 0.025427 seconds and 4 git commands to generate.