From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1018 invoked by alias); 19 Nov 2014 18:46:07 -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 1008 invoked by uid 89); 19 Nov 2014 18:46:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 19 Nov 2014 18:46:05 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sAJIk0xN009929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Nov 2014 13:46:00 -0500 Received: from localhost (dhcp-10-15-16-169.yyz.redhat.com [10.15.16.169]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sAJIjwph017681 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Wed, 19 Nov 2014 13:45:59 -0500 From: Sergio Durigan Junior To: Pedro Alves Cc: GDB Patches , Gabriel Krisman Bertazi Subject: Re: PowerPC: "set architecture" -> "Architecture not recognized" ? References: <1415837887-28888-1-git-send-email-sergiodj@redhat.com> <1415837887-28888-4-git-send-email-sergiodj@redhat.com> <546625C4.5050007@redhat.com> <87y4r9xk1f.fsf@redhat.com> <546B6208.3030100@redhat.com> <87vbmcw9ai.fsf@redhat.com> <546C61A2.7040308@redhat.com> X-URL: http://blog.sergiodj.net Date: Wed, 19 Nov 2014 18:46:00 -0000 In-Reply-To: <546C61A2.7040308@redhat.com> (Pedro Alves's message of "Wed, 19 Nov 2014 09:23:46 +0000") Message-ID: <877fyrvxjt.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00441.txt.bz2 On Wednesday, November 19 2014, Pedro Alves wrote: > On 11/18/2014 08:20 PM, Sergio Durigan Junior wrote: > >>>> and in >>>> + # some systems (PowerPC, for example), if we load a binary >>>> + # there is no way to set other architecture. >>> >>> ... eh. I wasn't aware of that. What does GDB say? >> >> Here is what I see on a Fedora 20 PPC64 box: >> >> (gdb) set architecture >> Requires an argument. Valid arguments are rs6000:6000, rs6000:rs1, >> rs6000:rsc, rs6000:rs2, powerpc:common64, powerpc:common, powerpc:603, >> powerpc:EC603e, powerpc:604, powerpc:403, powerpc:601, powerpc:620, >> powerpc:630, powerpc:a35, powerpc:rs64ii, powerpc:rs64iii, powerpc:7400, >> powerpc:e500, powerpc:e500mc, powerpc:e500mc64, powerpc:MPC8XX, >> powerpc:750, powerpc:titan, powerpc:vle, powerpc:e5500, powerpc:e6500, >> auto. >> (gdb) set architecture powerpc:common >> Architecture `powerpc:common' not recognized. > > Eh, this has the looks of a bug. At the very least, if on purpose for > some reason, the error string is misleading. Yeah, that's what I thought, though I still did not investigate it. I plan to get to it soon, or file a bug. Meanwhile, I believe I can check this series in, right? -- Sergio GPG key ID: 0x65FC5E36 Please send encrypted e-mail if possible http://sergiodj.net/