[RFAv2 05/10] command-def-selftests.c: detect missing or wrong prefix cmd in subcommands.

Tom Tromey tom@tromey.com
Fri May 15 16:37:53 GMT 2020


>>>>> "Philippe" == Philippe Waroquiers via Gdb-patches <gdb-patches@sourceware.org> writes:

Philippe>    SELF_CHECK (nr_duplicates == 0);
Philippe>    nr_duplicates = 0;
Philippe> +  SELF_CHECK (nr_invalid_prefixcmd == 0);
Philippe> +  nr_invalid_prefixcmd = 0;
Philippe>  }
 
This init also has to be done before the tests.
Just like the other patch, this is ok with this fixed, no need to
resubmit.

Tom


More information about the Gdb-patches mailing list