From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20112 invoked by alias); 26 Jul 2012 23:15:46 -0000 Received: (qmail 20103 invoked by uid 22791); 26 Jul 2012 23:15:46 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mailrelay009.isp.belgacom.be (HELO mailrelay009.isp.belgacom.be) (195.238.6.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Jul 2012 23:15:32 +0000 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAFrPEVBR9qAt/2dsb2JhbAANOIVxtnABAQEDASNWBQsLGgImAgJXBogap11ukzSBIJARgRIDnnOJQw Received: from 45.160-246-81.adsl-dyn.isp.belgacom.be (HELO [192.168.1.2]) ([81.246.160.45]) by relay.skynet.be with ESMTP; 27 Jul 2012 01:15:31 +0200 Subject: Re: [patchv2] Write bpt at the ON_STACK bpt address From: Philippe Waroquiers To: Jan Kratochvil Cc: Joel Brobecker , Pedro Alves , gdb-patches@sourceware.org, "Maciej W. Rozycki" In-Reply-To: <20120726212339.GA1710@host2.jankratochvil.net> References: <20120723155951.GA24718@adacore.com> <20120723163513.GA1222@host2.jankratochvil.net> <1343074047.2209.23.camel@soleil> <20120723201611.GA19567@host2.jankratochvil.net> <1343075809.2209.53.camel@soleil> <501009AE.40901@redhat.com> <1343247870.2240.29.camel@soleil> <20120725212653.GC2767@adacore.com> <1343252775.2240.51.camel@soleil> <20120725223933.GD2767@adacore.com> <20120726212339.GA1710@host2.jankratochvil.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 26 Jul 2012 23:15:00 -0000 Message-ID: <1343344545.2258.152.camel@soleil> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00652.txt.bz2 On Thu, 2012-07-26 at 23:23 +0200, Jan Kratochvil wrote: > Attached. I no longer find it useful as arch-dependent code, it would do the > same in each arch. > > No regressions on {x86_64,x86_64-m32,i686}-fedorarawhide-linux-gnu. Tested the patch on f12/x86 with Valgrind 3.7.0 and Valgrind 3.8.0 SVN, + tested on gcc49(mips32) with Valgrind 3.8.0 SVN (mips support appears in 3.8.0) No ugly error messages produced by Valgrind anymore. Thanks Philippe