> 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 14:21:36 up 1 day, 13:11, 1 user, load average: 0.95, 0.44, 0.28
This commit is contained in:
@ -69,6 +69,7 @@ static int cmd_si(char *args) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void show_wp(void);
|
||||
static int cmd_info(char *args) {
|
||||
char *arg = strtok(NULL, " ");
|
||||
if (arg == NULL) {
|
||||
@ -79,7 +80,7 @@ static int cmd_info(char *args) {
|
||||
if (arg[0] == 'r') {
|
||||
isa_reg_display();
|
||||
} else if (arg[0] == 'w') {
|
||||
printf("Watchpoint:\n");
|
||||
show_wp();
|
||||
} else {
|
||||
p_help("info");
|
||||
}
|
||||
|
Reference in New Issue
Block a user