]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdbserver: convert locals to `bool` in captured_main
authorAndrew Burgess <aburgess@redhat.com>
Sat, 12 Jul 2025 10:35:47 +0000 (11:35 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 1 Aug 2025 09:15:30 +0000 (10:15 +0100)
commit7a45c8e03020e8fbe5284e5ffa6d4c710c6fd876
tree04ab5f879b4ee814b870ac6da1ea0c7d547d3fc0
parent711667472193c31b67eb3c190d7c91f660ac4bb0
gdbserver: convert locals to `bool` in captured_main

Within gdbserver/server.cc, in captured_main, convert some locals to
bool.  Move the declaration of some locals into the body of the
function.

There should be no user visible changes after this commit.

Approved-By: Tom Tromey <tom@tromey.com>
gdbserver/server.cc