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