From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82549 invoked by alias); 27 Aug 2015 17:40:59 -0000 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 Received: (qmail 82510 invoked by uid 89); 27 Aug 2015 17:40:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e06smtp11.uk.ibm.com Received: from e06smtp11.uk.ibm.com (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 27 Aug 2015 17:40:58 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 27 Aug 2015 18:40:55 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 27 Aug 2015 18:40:52 +0100 X-MailFrom: uweigand@de.ibm.com X-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7803F17D8056 for ; Thu, 27 Aug 2015 18:42:31 +0100 (BST) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t7RHem1Q24379482 for ; Thu, 27 Aug 2015 17:40:51 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t7RHedGs019687 for ; Thu, 27 Aug 2015 11:40:39 -0600 Received: from oc7340732750.ibm.com (dyn-9-152-213-24.boeblingen.de.ibm.com [9.152.213.24]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t7RHedlL019497; Thu, 27 Aug 2015 11:40:39 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id 25AC739FA; Thu, 27 Aug 2015 19:40:30 +0200 (CEST) Subject: Re: [RFC] Fix SW breakpoint handling for Cell multi-arch To: palves@redhat.com (Pedro Alves) Date: Thu, 27 Aug 2015 17:40:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <55DF3E6D.20706@redhat.com> from "Pedro Alves" at Aug 27, 2015 05:44:29 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20150827174030.25AC739FA@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15082717-0041-0000-0000-0000059B525B X-SW-Source: 2015-08/txt/msg00801.txt.bz2 Pedro Alves wrote: > On 08/27/2015 05:23 PM, Ulrich Weigand wrote: > > That's an interesting idea. Indeed the kernel uses SI_KERNEL for > > SIGTRAPs indicating SW breakpoints on SPU, but nowhere else in all > > of PowerPC code. This means simply accepting either TRAP_BRKPT or > > SI_KERNEL should work. And indeed the patch appended below works > > just as well as the original patch for me. > > Excellent! I've pushed this as well. Thanks, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com