This is the mail archive of the gdb@sourceware.cygnus.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]

Re: RDI target broken in 000215 snapshot


On Fri, Feb 25, 2000 at 03:05:14PM +0000, Fernando Nasser wrote:

> > It's more a question of should the endianess have changed between
> > releases or should it have been little-endian anyway.  Not my problem
> > :-)
> 
> I inherited this one :-)
> 
> But you are right, this will at least require an entry in the
> NEWS, as it alters some previous behavior.  *If* the arm users
> in the list decide that the default should be little-endian.

From what I've seen/read little-endian is more common (does
ARM-Linux run little-endian or big?), and it's the default for
gcc/binutils, so it should probably be the default for gdb as
well.  I was just confused because I thought "auto" meant that it
would be determined by the target.

> It does seem reasonable and if the file command straights it
> out, only the load users would have to care (but they are more
> aware of these issues, and can always have the set endian on
> their .gdbinit).

Having the load command warn the user if the target and file
differ might also be something to consider.

> It is a shame that Angel is so buggy.  The return code should
> appropriately indicate the endianess of the target -- it would
> be a nice feature to use :-(

Does Angel not report it correctly?  The ARM EmbeddedICE is
broken in that respect, but I don't have a copy of Angel
running anywhere.

-- 
Grant Edwards
grante@visi.com

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