commit | 4ce6a497b2c8ad30736a6c2e516e4e93c66f3ce4 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Fri Feb 29 00:21:27 2008 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Fri Feb 29 00:21:27 2008 -0500 |
tree | 7b33c58daeb74b17007741854221501d9a959368 | |
parent | b792b3c00e9840369c809baf42b3022b9c859bc5 [diff] [blame] |
Enable extra debugging. Route BX_INFO to debug port. Add a new debug_stub() function.
diff --git a/src/output.c b/src/output.c index 6c7f719..043caa2 100644 --- a/src/output.c +++ b/src/output.c
@@ -140,6 +140,7 @@ puts_cs(action, sarg); break; default: + putc(action, '%'); putc(action, *s); n = s; } @@ -178,3 +179,9 @@ return; dump_regs(fname, "exit", regs); } + +void +__debug_stub(const char *fname, struct bregs *regs) +{ + dump_regs(fname, "stub", regs); +}