This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ob?] nto-tdep.c: recognize powerpc as well as rs6000


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]