> 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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user