{"tracearithmetic", no_argument, NULL, 't'},
{"tracelogical", no_argument, NULL, 'T'},
{"dump", no_argument, NULL, 'd'},
+ {"debug", no_argument, NULL, 'b'},
{"memorysize", required_argument, NULL, 'M'},
{"clocks", required_argument, NULL, 'C'},
{ "version", no_argument, NULL, 'v' },
int memsize = DEFAULT_MEMSIZE, clocks = DEFAULT_CLOCKS;
int opt, stat = 0;
const char *version = PACKAGE_VERSION, *cmdversion = "comet2 of YACASL2 version %s\n";
- const char *usage = "Usage: %s [-tTdvh] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE\n";
+ const char *usage = "Usage: %s [-btTdvh] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE\n";
cerr_init();
addcerrlist_load();
case 'd':
execmode.dump = true;
break;
+ case 'b':
+ execmode.debugger = true;
+ break;
case 'M':
memsize = atoi(optarg);
break;