mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Replace gcc variadic macro extension with C99 version
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4cfce484c5
commit
001faf3269
70 changed files with 268 additions and 268 deletions
|
@ -1080,12 +1080,12 @@ int ppc_dcr_write (ppc_dcr_t *dcr_env, int dcrn, target_ulong val)
|
|||
return -1;
|
||||
}
|
||||
|
||||
#define EXCP_DUMP(env, fmt, args...) \
|
||||
do { \
|
||||
fprintf(stderr, fmt , ##args); \
|
||||
cpu_dump_state(env, stderr, fprintf, 0); \
|
||||
qemu_log(fmt, ##args); \
|
||||
log_cpu_state(env, 0); \
|
||||
#define EXCP_DUMP(env, fmt, ...) \
|
||||
do { \
|
||||
fprintf(stderr, fmt , ## __VA_ARGS__); \
|
||||
cpu_dump_state(env, stderr, fprintf, 0); \
|
||||
qemu_log(fmt, ## __VA_ARGS__); \
|
||||
log_cpu_state(env, 0); \
|
||||
} while (0)
|
||||
|
||||
void cpu_loop(CPUPPCState *env)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue