From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16792 invoked by alias); 23 Sep 2010 13:00:48 -0000 Received: (qmail 16772 invoked by uid 22791); 23 Sep 2010 13:00:46 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.17.164) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Sep 2010 13:00:38 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.1/8.13.1) with ESMTP id o8ND0a93023905 for ; Thu, 23 Sep 2010 13:00:36 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8ND0ZAt311320 for ; Thu, 23 Sep 2010 15:00:35 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o8ND0Z5Z028212 for ; Thu, 23 Sep 2010 15:00:35 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o8ND0YqF028161; Thu, 23 Sep 2010 15:00:34 +0200 Message-Id: <201009231300.o8ND0YqF028161@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 23 Sep 2010 15:00:34 +0200 Subject: Re: [rfa] Fix software-watchpoint failures by adding epilogue detection To: dan@codesourcery.com (Daniel Jacobowitz) Date: Thu, 23 Sep 2010 16:13:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, rearnsha@arm.com In-Reply-To: <20100922193753.GA25020@caradoc.them.org> from "Daniel Jacobowitz" at Sep 22, 2010 03:37:59 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2010-09/txt/msg00404.txt.bz2 Dan Jacobowitz wrote: > One of the patches we haven't had a chance to submit took the same > approach to solve these failures. I also did ARM mode, as well as > some additional sequences - probably those used by RealView. I've > attached it. Thanks! Unfortunately it doesn't fix the problem with our current ARM compiler, because your heuristics doesn't recognize the sequence we get as epilogue: 83c8: f107 0710 add.w r7, r7, #16 83cc: 46bd mov sp, r7 83ce: bd80 pop {r7, pc} On the other hand, your patch does indeed accept a couple of additonal instructions compared to mine. I'll come up with a merged approach ... > We have at least one other patch related to ARM testsuite failures, > specifically an ERROR (probably infinite backtrace) in gdb1250.exp. > I can extract it for you if you'd like, but I'm not sure it's in > condition to be merged. Hmm, this test is passing now. We did have problems with backtraces out of abort, but this was due to a compiler problem -- it simply would not save the return address at all for no-return functions. This is now fixed in the compiler ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com