diff --git a/nemu/src/monitor/sdb/addrexp.y b/nemu/src/monitor/sdb/addrexp.y index 64baee2..ab5035b 100644 --- a/nemu/src/monitor/sdb/addrexp.y +++ b/nemu/src/monitor/sdb/addrexp.y @@ -43,7 +43,7 @@ expression } | '-' number { $$ = -$2; } | '*' expression { - printf("deref: %u - %#x\n", $2, vaddr_read($2, WORD_BYTES)); + // printf("deref: %u, value: %#x\n", $2, vaddr_read($2, WORD_BYTES)); $$ = vaddr_read($2, WORD_BYTES); } | '(' expression ')' { $$ = $2; }