summaryrefslogtreecommitdiffstats
path: root/sys/ddb
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-06-28 00:55:02 +0000
committerdfr <dfr@FreeBSD.org>1998-06-28 00:55:02 +0000
commit0cc72302972d9c4dd07f5a5df9eeaabdd9f4ae2d (patch)
tree027ee45269853c021d2371bb1a4709e0e784c18e /sys/ddb
parente1316cb0ae78944f953533899d164919f852e4a7 (diff)
downloadFreeBSD-src-0cc72302972d9c4dd07f5a5df9eeaabdd9f4ae2d.zip
FreeBSD-src-0cc72302972d9c4dd07f5a5df9eeaabdd9f4ae2d.tar.gz
Supply the symbol table as an argument to X_db_symbol_values (required for elf).
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_aout.c5
-rw-r--r--sys/ddb/db_sym.c4
-rw-r--r--sys/ddb/db_sym.h5
3 files changed, 8 insertions, 6 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c
index d60b459..093fad0 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 5caf478..a277769 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 c79218d..2ea2714 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_ */
OpenPOWER on IntegriCloud