From af7ec7b7dac78f445176e8a03e0f8913cdd72c8b Mon Sep 17 00:00:00 2001 From: Yeongjin Jang Date: Tue, 2 Apr 2019 02:49:09 -0700 Subject: [PATCH] add hint --- kern/kdebug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kern/kdebug.c b/kern/kdebug.c index 9547143..b66ab45 100644 --- a/kern/kdebug.c +++ b/kern/kdebug.c @@ -171,7 +171,8 @@ debuginfo_eip(uintptr_t addr, struct Eipdebuginfo *info) // Search within [lline, rline] for the line number stab. - // If found, set info->eip_line to the right line number. + // If found, set info->eip_line to the correct line number. + // e.g., info->eip_line = stabs[lline].n_desc // If not found, return -1. // // Hint: