diff options
author | Doug Rabson <dfr@FreeBSD.org> | 1998-06-28 00:55:02 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 1998-06-28 00:55:02 +0000 |
commit | 6edf3d91441dede7bf4f33751b27bd527a1d6d05 (patch) | |
tree | 3b2a4302eec4b38224b1a51843c975a3f744f49e /sys/ddb | |
parent | 7045d394b13c529c07def7a1fdcda7ae581018cb (diff) | |
download | src-6edf3d91441dede7bf4f33751b27bd527a1d6d05.tar.gz src-6edf3d91441dede7bf4f33751b27bd527a1d6d05.zip |
Supply the symbol table as an argument to X_db_symbol_values (required for elf).
Notes
Notes:
svn path=/head/; revision=37218
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_aout.c | 5 | ||||
-rw-r--r-- | sys/ddb/db_sym.c | 4 | ||||
-rw-r--r-- | sys/ddb/db_sym.h | 5 |
3 files changed, 8 insertions, 6 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c index d60b459b2f1a..093fad09f528 100644 --- a/sys/ddb/db_aout.c +++ b/sys/ddb/db_aout.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_aout.c,v 1.19 1997/09/28 08:34:46 phk Exp $ + * $Id: db_aout.c,v 1.20 1998/06/07 17:09:36 dfr Exp $ */ /* @@ -198,7 +198,8 @@ X_db_search_symbol(symtab, off, strategy, diffp) * Return the name and value for a symbol. */ void -X_db_symbol_values(sym, namep, valuep) +X_db_symbol_values(symtab, sym, namep, valuep) + db_symtab_t *symtab; db_sym_t sym; char **namep; db_expr_t *valuep; diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c index 5caf478af7ee..a277769fa1e3 100644 --- a/sys/ddb/db_sym.c +++ b/sys/ddb/db_sym.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_sym.c,v 1.21 1998/06/07 17:09:38 dfr Exp $ + * $Id: db_sym.c,v 1.22 1998/06/10 10:56:13 dfr Exp $ */ /* @@ -256,7 +256,7 @@ db_symbol_values(sym, namep, valuep) return; } - X_db_symbol_values(sym, namep, &value); + X_db_symbol_values(db_last_symtab, sym, namep, &value); if (db_symbol_is_ambiguous(sym)) *namep = db_qualify(sym, db_last_symtab->name); diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h index c79218da5035..2ea27141d523 100644 --- a/sys/ddb/db_sym.h +++ b/sys/ddb/db_sym.h @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_sym.h,v 1.13 1997/06/30 23:49:17 bde Exp $ + * $Id: db_sym.h,v 1.14 1997/06/30 23:54:49 bde Exp $ */ #ifndef _DDB_DB_SYM_H_ @@ -101,7 +101,8 @@ db_sym_t X_db_search_symbol __P((db_symtab_t *symtab, db_addr_t off, db_expr_t *diffp)); int X_db_sym_numargs __P((db_symtab_t *, db_sym_t, int *, char **)); -void X_db_symbol_values __P((db_sym_t sym, char **namep, +void X_db_symbol_values __P((db_symtab_t *symtab, + db_sym_t sym, char **namep, db_expr_t *valuep)); #endif /* !_DDB_DB_SYM_H_ */ |