simavr: Removed the avr_global_logger global
authorMichel Pollet <buserror@gmail.com>
Wed, 27 Nov 2013 21:16:36 +0000 (21:16 +0000)
committerMichel Pollet <buserror@gmail.com>
Wed, 27 Nov 2013 21:16:36 +0000 (21:16 +0000)
commit270166e66646ce916f091abb980e59303a042dc5
tree6490f394198aac96e9ca126d5ea594db4fcd0a2f
parentf87c0ca090b1227bc3940b9381e9736114547c3c
simavr: Removed the avr_global_logger global

It was not very clean; Instead there is a new accessor for
setting/getting a global logging function pointer.
Also made sure it is not compiled for the cores, since they use AVR
headers and have no stdarg.h anyway

Signed-off-by: Michel Pollet <buserror@gmail.com>
Makefile.common
simavr/sim/sim_avr.c
simavr/sim/sim_avr.h