[PATCH][gdb] Print user/includes fields for maint commands

Simon Marchi simark@simark.ca
Tue Mar 24 23:14:40 GMT 2020


On 2020-03-24 6:55 p.m., Tom de Vries wrote:
> The first if-else covers printing the block info.
> 
> If we'd merge the if-else and the following if, we'd have:
> - the true clause related to block info
> - the code related to user/includes
> - the false clause related to block info
> which I find confusing.

Ok makes sense.  Perhaps then add a comment to introduce that if, to say what's
it's meant to do.

  /* Print info about the user of this compunit_symtab, and the compunit_symtabs included by this one. */

Simon


More information about the Gdb-patches mailing list