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