gdb: fix up a few places where a char was treated as a bool
authorAndrew Burgess <aburgess@redhat.com>
Wed, 23 Aug 2023 01:39:34 +0000 (11:09 +0930)
committerAndrew Burgess <aburgess@redhat.com>
Wed, 23 Aug 2023 13:56:24 +0000 (14:56 +0100)
commitcdb090c88b4ebf6f728a000d1ee73d9bdee9ebb3
tree5cf977fb80b899a3f67df29c2f90b4d5247994ea
parentd367563d55c0ff2bd406397c773bca767e8fccce
gdb: fix up a few places where a char was treated as a bool

Spotted a few places where a char is being treated as a bool.  The GDB
style is to use explicit comparisons, so fix things up.

There should be no user visible changes after this commit.
gdb/coffread.c
gdb/dbxread.c
gdb/machoread.c