diff options
-rw-r--r-- | sys/amd64/amd64/db_trace.c | 3 | ||||
-rw-r--r-- | sys/i386/i386/db_trace.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/amd64/amd64/db_trace.c b/sys/amd64/amd64/db_trace.c index 9ec6aea..69aa8e8 100644 --- a/sys/amd64/amd64/db_trace.c +++ b/sys/amd64/amd64/db_trace.c @@ -206,7 +206,8 @@ db_nextframe(fp, ip, p) int frame_type; int eip, esp, ebp; db_expr_t offset; - const char *sym, *name; + c_db_sym_t sym; + const char *name; eip = db_get_value((int) &(*fp)->f_retaddr, 4, FALSE); ebp = db_get_value((int) &(*fp)->f_frame, 4, FALSE); diff --git a/sys/i386/i386/db_trace.c b/sys/i386/i386/db_trace.c index 9ec6aea..69aa8e8 100644 --- a/sys/i386/i386/db_trace.c +++ b/sys/i386/i386/db_trace.c @@ -206,7 +206,8 @@ db_nextframe(fp, ip, p) int frame_type; int eip, esp, ebp; db_expr_t offset; - const char *sym, *name; + c_db_sym_t sym; + const char *name; eip = db_get_value((int) &(*fp)->f_retaddr, 4, FALSE); ebp = db_get_value((int) &(*fp)->f_frame, 4, FALSE); |