> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 13:16:25 up 1 day, 12:06,  1 user,  load average: 0.36, 0.32, 0.19
This commit is contained in:
tracer-ics2023
2024-09-01 13:16:26 +08:00
committed by zzy
parent 47b610e5e8
commit f4b5423c48

View File

@ -130,11 +130,7 @@ WP* new_wp(char* expr, int len);
WP* get_wp(int NO);
void free_wp(WP* wp);
static int cmd_w(char *args) {
char*arg = strtok(NULL, " ");
if (arg == NULL) {
goto ERROR;
}
if (new_wp(arg, strlen(arg)) != NULL) {
if (new_wp(args, strlen(args)) != NULL) {
printf("Watchpoint Set Failure\n");
goto ERROR;
}