Shadow SIM's debug_printf function
authorGary Benson <gbenson@redhat.com>
Thu, 28 Aug 2014 10:59:09 +0000 (11:59 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 28 Aug 2014 10:59:09 +0000 (11:59 +0100)
commit6aefca7e4978b93f502ff8123a6c3cab6e0171f1
tree974cb6e680c992b5378f3d16719a7d104a85ed6e
parent6b65d1b6b3bb69051e32537cddf92baa22513cbd
Shadow SIM's debug_printf function

GDB and SIM both have functions called "debug_printf", which conflicts
at link time.  This commit shadows SIM's debug_printf with a macro so
that SIM's symbol ends up being called "sim_debug_printf".

sim/common/ChangeLog:

* sim-trace.h (debug_printf): New define.
sim/common/ChangeLog
sim/common/sim-trace.h