Revision 001faf32 target-sparc/op_helper.c

b/target-sparc/op_helper.c
13 13
//#define DEBUG_PCALL
14 14

  
15 15
#ifdef DEBUG_MMU
16
#define DPRINTF_MMU(fmt, args...) \
17
do { printf("MMU: " fmt , ##args); } while (0)
16
#define DPRINTF_MMU(fmt, ...)                                   \
17
    do { printf("MMU: " fmt , ## __VA_ARGS__); } while (0)
18 18
#else
19
#define DPRINTF_MMU(fmt, args...) do {} while (0)
19
#define DPRINTF_MMU(fmt, ...) do {} while (0)
20 20
#endif
21 21

  
22 22
#ifdef DEBUG_MXCC
23
#define DPRINTF_MXCC(fmt, args...) \
24
do { printf("MXCC: " fmt , ##args); } while (0)
23
#define DPRINTF_MXCC(fmt, ...)                                  \
24
    do { printf("MXCC: " fmt , ## __VA_ARGS__); } while (0)
25 25
#else
26
#define DPRINTF_MXCC(fmt, args...) do {} while (0)
26
#define DPRINTF_MXCC(fmt, ...) do {} while (0)
27 27
#endif
28 28

  
29 29
#ifdef DEBUG_ASI
30
#define DPRINTF_ASI(fmt, args...) \
31
do { printf("ASI: " fmt , ##args); } while (0)
30
#define DPRINTF_ASI(fmt, ...)                                   \
31
    do { printf("ASI: " fmt , ## __VA_ARGS__); } while (0)
32 32
#endif
33 33

  
34 34
#ifdef TARGET_SPARC64

Also available in: Unified diff