> 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:17:53 up 1 day, 12:08,  1 user,  load average: 0.31, 0.31, 0.19
This commit is contained in:
tracer-ics2023
2024-09-01 13:17:53 +08:00
committed by zzy
parent 8cbb71ed07
commit cfb03021eb

View File

@ -130,7 +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) {
if (new_wp(args, strlen(args)) != NULL) {
if (new_wp(args, strlen(args)) == NULL) {
printf("Watchpoint Set Failure\n");
goto ERROR;
}