[PATCH 1/6] gdb: use bool instead of int in struct internal_problem

Simon Marchi simon.marchi@polymtl.ca
Thu Aug 19 18:33:48 GMT 2021


On 2021-08-19 5:49 a.m., Andrew Burgess wrote:
> Change struct internal_problem (gdb/utils.c) to use bool instead of
> int, update the 3 static instances of this structure that we create to
> use true/false instead of 1/0.
> 
> I've also updated the comments on struct internal_problem as the
> existing comment doesn't seem to be referring to the structure, it
> talks about returning something, which doesn't make sense in this
> context.
> 
> There should be no user visible changes after this commit.

That LGTM on its own.

Simon


More information about the Gdb-patches mailing list