This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
and then the very mechanical:
enum print_values print_values;
if (strcmp (argv[0], "0") == 0 || strcmp (argv[0], "no-values") == 0) print_values = PRINT_NO_VALUES; else if (strcmp (argv[0], "1") == 0 || strcmp (argv[0], "all-values") == 0) print_values = PRINT_ALL_VALUES; else if (strcmp (argv[0], "simple-values") == 0) print_values = PRINT_SIMPLE_VALUES; else error ("...");
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |