This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA/arm-linux: Add support for big endian
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb-patches at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Fri, 05 Sep 2003 10:53:48 +0100
- Subject: Re: RFA/arm-linux: Add support for big endian
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
>
> > 2003-07-15 Daniel Jacobowitz <drow@mvista.com>
> >
> > * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.
> > (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint.
OK
> >
> > Index: gdb-6.0/gdb/arm-linux-tdep.c
> > ===================================================================
> > --- gdb-6.0.orig/gdb/arm-linux-tdep.c 2003-07-07 12:04:45.000000000 -0400
> > +++ gdb-6.0/gdb/arm-linux-tdep.c 2003-07-07 15:02:45.000000000 -0400
> > @@ -47,6 +47,8 @@
> >
> > static const char arm_linux_arm_le_breakpoint[] = {0x01,0x00,0x9f,0xef};
> >
> > +static const char arm_linux_arm_be_breakpoint[] = {0xef, 0x9f, 0x00, 0x01};
Please format these to the same way -- I'm not to fussed which you use.
R.