diff --git a/nemu/src/monitor/sdb/addrexp.y b/nemu/src/monitor/sdb/addrexp.y index af6f475..6f0d0df 100644 --- a/nemu/src/monitor/sdb/addrexp.y +++ b/nemu/src/monitor/sdb/addrexp.y @@ -44,7 +44,7 @@ expression | '-' number { $$ = -$2; } | '*' expression { printf("deref: %u\n", $2); - // $$ = vaddr_read($2, WORD_BYTES); + $$ = vaddr_read($2, WORD_BYTES); } | '(' expression ')' { $$ = $2; }