This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PowerPC: "set architecture" -> "Architecture not recognized" ?
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Gabriel Krisman Bertazi <gabriel at krisman dot be>
- Date: Wed, 19 Nov 2014 13:45:58 -0500
- Subject: Re: PowerPC: "set architecture" -> "Architecture not recognized" ?
- Authentication-results: sourceware.org; auth=none
- References: <1415837887-28888-1-git-send-email-sergiodj at redhat dot com> <1415837887-28888-4-git-send-email-sergiodj at redhat dot com> <546625C4 dot 5050007 at redhat dot com> <87y4r9xk1f dot fsf at redhat dot com> <546B6208 dot 3030100 at redhat dot com> <87vbmcw9ai dot fsf at redhat dot com> <546C61A2 dot 7040308 at redhat dot com>
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/