> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 01:55:00 up 15:31, 2 users, load average: 0.30, 0.37, 0.41
This commit is contained in:
parent
2f1f38a359
commit
26f668141f
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ static int parse_args(int argc, char *argv[]) {
|
||||||
{"log" , required_argument, NULL, 'l'},
|
{"log" , required_argument, NULL, 'l'},
|
||||||
{"diff" , required_argument, NULL, 'd'},
|
{"diff" , required_argument, NULL, 'd'},
|
||||||
{"port" , required_argument, NULL, 'p'},
|
{"port" , required_argument, NULL, 'p'},
|
||||||
{"help" , no_argument , NULL, 'h'},
|
|
||||||
{"elf" , required_argument, NULL, 'f'},
|
{"elf" , required_argument, NULL, 'f'},
|
||||||
|
{"help" , no_argument , NULL, 'h'},
|
||||||
{0 , 0 , NULL, 0 },
|
{0 , 0 , NULL, 0 },
|
||||||
};
|
};
|
||||||
int o;
|
int o;
|
||||||
|
@ -92,7 +92,7 @@ static int parse_args(int argc, char *argv[]) {
|
||||||
printf("\t-l,--log=FILE output log to FILE\n");
|
printf("\t-l,--log=FILE output log to FILE\n");
|
||||||
printf("\t-d,--diff=REF_SO run DiffTest with reference REF_SO\n");
|
printf("\t-d,--diff=REF_SO run DiffTest with reference REF_SO\n");
|
||||||
printf("\t-p,--port=PORT run DiffTest with port PORT\n");
|
printf("\t-p,--port=PORT run DiffTest with port PORT\n");
|
||||||
printf("\t-f,--elf=PORT elf file with debug info\n");
|
printf("\t-f,--elf=FILE elf file with debug info\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue