[PATCH 3/3] Testcase

Sergio Durigan Junior sergiodj@redhat.com
Tue Nov 18 20:20:00 GMT 2014


On Tuesday, November 18 2014, Pedro Alves wrote:

> On 11/18/2014 03:30 AM, Sergio Durigan Junior wrote:
>> +    with_test_prefix "multiple targets" {
>
> s/multiple targets/multiple architectures/

Sorry, fixed.

> Otherwise looks good.  One question:
>
>> +	# We are not interested in loading any binary here,
>
> This is fine, though ...
>
>> 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.
  The target architecture is set automatically (currently
  powerpc:common64)

-- 
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/



More information about the Gdb-patches mailing list