Use proper type for a variable used as a DDB symbol.

This commit is contained in:
John Baldwin 2002-09-20 13:56:11 +00:00
parent f4684dbc23
commit 6beff25eed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103681
2 changed files with 4 additions and 2 deletions

View file

@ -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);

View file

@ -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);