This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [ob?] nto-tdep.c: recognize powerpc as well as rs6000
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Kris Warkentin <kewarken at qnx dot com>
- Cc: "Gdb-Patches at Sources dot Redhat dot Com" <gdb-patches at sources dot redhat dot com>
- Date: Tue, 17 Jun 2003 14:17:46 -0400
- Subject: Re: [ob?] nto-tdep.c: recognize powerpc as well as rs6000
- References: <094501c334fa$08c62ea0$0202040a@catdog>
On Tue, Jun 17, 2003 at 01:58:18PM -0400, Kris Warkentin wrote:
> Since I'm braindead today....okay to commit?
Sure, but brush up on style:
> --- 97,104 ----
> arch = "x86";
> endian = "";
> }
> ! else if (strcmp (TARGET_ARCHITECTURE->arch_name, "rs6000") == 0 ||
> ! strcmp (TARGET_ARCHITECTURE->arch_name, "powerpc") == 0)
> {
> arch = "ppc";
> endian = "be";
|| goes at the beginning of the next line.
> --- 131,138 ----
> arch = "x86";
> endian = "";
> }
> ! else if (strcmp (TARGET_ARCHITECTURE->arch_name, "rs6000") == 0 ||
> ! strcmp (TARGET_ARCHITECTURE->arch_name, "powerpc") == 0)
> {
> arch = "ppc";
> endian = "be";
Likewise.
For the indentation changes, I'll just have to take your word for it -
they're so mangled by the time they get through your MUA that they're
useless.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer