diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ddb/db_aout.c | 3 | ||||
-rw-r--r-- | ddb/db_sym.h | 3 |
3 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2008-05-25 Andrei Barbu <teval0@gmail.com> + + * ddb/db_aout.c (aout_db_symbol_values): Add stab parameter. + * ddb/db_sym.h (db_sym_switch): Add stab parameter to symbol_values + member. + (X_db_symbol_values): Pass stab parameter to symbole_values function. + 2008-05-19 Thomas Schwinge <tschwinge@gnu.org> [patch #6508 -- Building with -g3] diff --git a/ddb/db_aout.c b/ddb/db_aout.c index b55a4a1..42fa6f7 100644 --- a/ddb/db_aout.c +++ b/ddb/db_aout.c @@ -376,7 +376,8 @@ aout_db_search_symbol(symtab, off, strategy, diffp) * Return the name and value for a symbol. */ void -aout_db_symbol_values(sym, namep, valuep) +aout_db_symbol_values(stab, sym, namep, valuep) + db_symtab_t *stab; db_sym_t sym; char **namep; db_expr_t *valuep; diff --git a/ddb/db_sym.h b/ddb/db_sym.h index 216e327..453ac7f 100644 --- a/ddb/db_sym.h +++ b/ddb/db_sym.h @@ -181,6 +181,7 @@ extern struct db_sym_switch { ); void (*symbol_values)( + db_symtab_t *stab, db_sym_t sym, char **namep, db_expr_t *valuep @@ -196,7 +197,7 @@ extern struct db_sym_switch { #define X_db_lookup(s,n) x_db[(s)->type].lookup(s,n) #define X_db_search_symbol(s,o,t,d) x_db[(s)->type].search_symbol(s,o,t,d) #define X_db_line_at_pc(s,p,f,l,a) x_db[(s)->type].line_at_pc(s,p,f,l,a) -#define X_db_symbol_values(s,p,n,v) x_db[(s)->type].symbol_values(p,n,v) +#define X_db_symbol_values(s,p,n,v) x_db[(s)->type].symbol_values(s,p,n,v) extern boolean_t db_line_at_pc( db_sym_t sym, |