8e44b27348
from db_stack_trace_cmd() to db_stack_trace_print(), and add an additional argument, a function pointer for an output routine (i.e. printf() or db_printf()). Add db_stack_trace_cmd() in db_command.[ch], calling db_stack_trace_print() with db_printf() as the printer. Move count==-1 special handling from db_stack_trace_print() [nee db_stack_trace_cmd()] to db_stack_trace_cmd() [nascent here]. Again, I'm unable to test compilation on all affected platforms, so advance apologies for potential brokenness. |
||
---|---|---|
.. | ||
db_access.c | ||
db_access.h | ||
db_aout.c | ||
db_aout.h | ||
db_break.c | ||
db_break.h | ||
db_command.c | ||
db_command.h | ||
db_elf.c | ||
db_examine.c | ||
db_expr.c | ||
db_extern.h | ||
db_input.c | ||
db_interface.h | ||
db_lex.c | ||
db_lex.h | ||
db_output.c | ||
db_output.h | ||
db_print.c | ||
db_run.c | ||
db_run.h | ||
db_sym.c | ||
db_sym.h | ||
db_trap.c | ||
db_variables.c | ||
db_variables.h | ||
db_watch.c | ||
db_watch.h | ||
db_write_cmd.c | ||
db_xxx.c | ||
ddbvar.h |