[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] gcc-4.5.0-mint-20100511
Eero Tamminen wrote:
Btw. Did you have time to test whether the multithreaded mudflap support
works also? (one needs to use -fmudflapth for threaded programs)
Does FreeMiNT support multithreading ??
I have not tried -fmudflapth. This option probably do nothing good.
I had noticed that accessing any memory not allocated by the C standard
functions was considered as a violation, so in a program writing directly to
the screen I had to do things similar to what you did :
void* p = Logbase();
#ifdef _MUDFLAP
__mf_register(p, 32000, __MF_TYPE_GUESS, "screen");
#endif
export MUDFLAP_OPTIONS="-viol-gdb -internal-checking -wipe-stack -wipe-heap"
I didn't try the MUDFLAP_OPTIONS variable, but it should work.
Btw. Vincent, does GDB invocation from Mudflap code work?
Do you mean GDB running mudflap programs ?
Or some GDB invocation from inside the mudflap programs ?
I have no idea.
I forgot to say it was the first experimental build of libmudflap for MiNT,
the basic features work, but I have no idea about advanced features. I had
never used libmudflap before that.
Eero, since you seem experimented, feel free to test libmudflap for MiNT and
tell us what works or not ! Then we will fix things progressively.
--
Vincent Rivière