do { \
if (WITH_TRACE) { \
if (ppc_trace[OBJECT]) { \
- printf_filtered("%s:%d: ", filter_filename(__FILE__), __LINE__); \
- printf_filtered ARGS; \
+ sim_io_printf_filtered("%s:%d: ", filter_filename(__FILE__), __LINE__); \
+ sim_io_printf_filtered ARGS; \
} \
} \
} while (0)
do { \
if (WITH_TRACE) { \
if (ppc_trace[OBJECT]) { \
- printf_filtered("%s:%d:0x%08lx:%s ", itable[MY_INDEX].file, itable[MY_INDEX].line_nr, (long)cia, itable[MY_INDEX].name); \
- printf_filtered ARGS; \
+ sim_io_printf_filtered("%s:%d:0x%08lx:%s ", itable[MY_INDEX].file, itable[MY_INDEX].line_nr, (long)cia, itable[MY_INDEX].name); \
+ sim_io_printf_filtered ARGS; \
} \
} \
} while (0)
if (ppc_trace[trace_devices] \
|| ppc_trace[trace_##OBJECT##_device] \
|| trace_device) { \
- printf_filtered("%s:%d:%s:%s%s ", \
- filter_filename(__FILE__), __LINE__, #OBJECT, \
- trace_device ? device_path(me) : "", \
- trace_device ? ":" : ""); \
- printf_filtered ARGS; \
+ sim_io_printf_filtered("%s:%d:%s:%s%s ", \
+ filter_filename(__FILE__), __LINE__, #OBJECT, \
+ trace_device ? device_path(me) : "", \
+ trace_device ? ":" : ""); \
+ sim_io_printf_filtered ARGS; \
} \
} \
} while (0)
if (ppc_trace[trace_devices] \
|| ppc_trace[trace_##OBJECT##_device] \
|| trace_device) { \
- printf_filtered("%s:%d:%s:%s%s ", \
- filter_filename(__FILE__), __LINE__, #OBJECT, \
- trace_device ? device_path(me) : "", \
- trace_device ? ":" : ""); \
- printf_filtered ARGS; \
+ sim_io_printf_filtered("%s:%d:%s:%s%s ", \
+ filter_filename(__FILE__), __LINE__, #OBJECT, \
+ trace_device ? device_path(me) : "", \
+ trace_device ? ":" : ""); \
+ sim_io_printf_filtered ARGS; \
} \
} \
} while (0)
do { \
if (WITH_TRACE) { \
if (ppc_trace[trace_##OBJECT##_package]) { \
- printf_filtered("%s:%d:%s: ", filter_filename(__FILE__), __LINE__, #OBJECT); \
- printf_filtered ARGS; \
+ sim_io_printf_filtered("%s:%d:%s: ", filter_filename(__FILE__), __LINE__, #OBJECT); \
+ sim_io_printf_filtered ARGS; \
} \
} \
} while (0)