Up to [cvs.NetBSD.org] / src / sys / arch / sh3 / sh3
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-5-ALPHA2
Revision 1.3 / (download) - annotate - [select for diffs], Fri May 26 03:34:29 2000 UTC (20 years, 7 months ago) by jhawk
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Changes since 1.2: +26 -26
lines
Diff to previous 1.2 (colored)
Rename the machine-specific stack trace printing functions 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.