This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Identifying PowerPC architecture
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: eager at eagercon dot com
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 11 Jan 2007 22:30:59 +0100 (CET)
- Subject: Re: Identifying PowerPC architecture
- References: <45A6A23F.3000605@eagercon.com>
> Date: Thu, 11 Jan 2007 12:46:55 -0800
> From: Michael Eager <eager@eagercon.com>
>
> I'm looking at how gdb decides which arch/mach it is
> working with for PowerPC. It looks like it always picks up
> rs6000:6000 as processor type.
For what it is worth, I get powerpc:common for OpenBSD. Probably
because of the fact that the OpenBSD OS/ABI support is registered
with:
gdbarch_register_osabi (bfd_arch_powerpc, 0, GDB_OSABI_OPENBSD_ELF,
ppcobsd_init_abi);
Mark