From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4751 invoked by alias); 3 Mar 2009 22:04:38 -0000 Received: (qmail 4741 invoked by uid 22791); 3 Mar 2009 22:04:37 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Mar 2009 22:04:31 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n23M4Rt6010745; Tue, 3 Mar 2009 17:04:27 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n23M4R1d026220; Tue, 3 Mar 2009 17:04:27 -0500 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n23M4Oj1022645; Tue, 3 Mar 2009 17:04:26 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n23M4MMc016816; Tue, 3 Mar 2009 23:04:22 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.2/Submit) id n23M4IQU016629; Tue, 3 Mar 2009 23:04:18 +0100 Date: Tue, 03 Mar 2009 22:04:00 -0000 From: Jan Kratochvil To: Peter Bergner Cc: gdb-patches@sourceware.org, Thiago Jung Bauermann , Alan Modra Subject: Re: [patch] Enable power7 disassembling Message-ID: <20090303220418.GA2492@host0.dyn.jankratochvil.net> References: <20090302210404.GB23798@host0.dyn.jankratochvil.net> <1236115864.6800.80.camel@otta> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1236115864.6800.80.camel@otta> User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2009-03/txt/msg00039.txt.bz2 On Tue, 03 Mar 2009 22:31:04 +0100, Peter Bergner wrote: > On Mon, 2009-03-02 at 22:04 +0100, Jan Kratochvil wrote: > > Therefore assuming there should be a new GDB option: > > set powerpc disassembler-options power7 > > which would still default to `any' as currently but one could override it. > > This still might be a good idea. I assume you could choose any > valid ppc processor name accepted by the disassembler here? > Eg, power4, power5, booke, etc. Yes, it is sure not limited by gdb_print_insn_powerpc() although I see the help command could rather call print_ppc_disassembler_options(). Regards, Jan