From mint-bounce@lists.fishpool.fi Tue May 18 14:48:13 2010 Message-ID: <4BF2E048.6000704@freesbee.fr> Date: Tue, 18 May 2010 20:45:28 +0200 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] gcc-4.5.0-mint-20100511 References: <4BF1C7FF.8080409@freesbee.fr> <201005182127.22564.oak@helsinkinet.fi> In-Reply-To: <201005182127.22564.oak@helsinkinet.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o4IImCx0005339 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