Revision 001faf32 target-mips/translate.c
b/target-mips/translate.c | ||
---|---|---|
501 | 501 |
"f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", }; |
502 | 502 |
|
503 | 503 |
#ifdef MIPS_DEBUG_DISAS |
504 |
#define MIPS_DEBUG(fmt, args...) \
|
|
504 |
#define MIPS_DEBUG(fmt, ...) \ |
|
505 | 505 |
qemu_log_mask(CPU_LOG_TB_IN_ASM, \ |
506 | 506 |
TARGET_FMT_lx ": %08x " fmt "\n", \ |
507 |
ctx->pc, ctx->opcode , ##args)
|
|
507 |
ctx->pc, ctx->opcode , ## __VA_ARGS__)
|
|
508 | 508 |
#define LOG_DISAS(...) qemu_log_mask(CPU_LOG_TB_IN_ASM, ## __VA_ARGS__) |
509 | 509 |
#else |
510 |
#define MIPS_DEBUG(fmt, args...) do { } while(0)
|
|
510 |
#define MIPS_DEBUG(fmt, ...) do { } while(0) |
|
511 | 511 |
#define LOG_DISAS(...) do { } while (0) |
512 | 512 |
#endif |
513 | 513 |
|
Also available in: Unified diff