puts_cs(action, sarg);
break;
default:
+ putc(action, '%');
putc(action, *s);
n = s;
}
return;
dump_regs(fname, "exit", regs);
}
+
+void
+__debug_stub(const char *fname, struct bregs *regs)
+{
+ dump_regs(fname, "stub", regs);
+}
#define DEBUGF(fmt, args...)
#define BX_PANIC(fmt, args...)
-#define BX_INFO(fmt, args...)
+#define BX_INFO(fmt, args...) bprintf(0, fmt , ##args)
static inline void
memset(void *s, int c, size_t n)
__attribute__ ((format (printf, 2, 3)));
void __debug_enter(const char *fname, struct bregs *regs);
void __debug_exit(const char *fname, struct bregs *regs);
+void __debug_stub(const char *fname, struct bregs *regs);
#define debug_enter(regs) \
__debug_enter(__func__, regs)
#define debug_exit(regs) \
__debug_exit(__func__, regs)
+#define debug_stub(regs) \
+ __debug_stub(__func__, regs)
#define printf(fmt, args...) \
bprintf(1, fmt , ##args )