This is the mail archive of the gdb-patches@sourceware.org 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: [RFA]: gdb/testsuite/gdb.arch/altivec-regs.exp Broken testcase


Mark is right again.  The fact that the testsuite isn't copying
should point us at the fact that the output changed, and we don't know
why.

On Tue, Jan 16, 2007 at 10:28:01PM +0100, Mark Kettenis wrote:
> This worries me a bit.  So in the past we were able to determine the
> endianness automagically, but now we don't?  Do we understand why?
> Doesn't this mean that something is broken that worked before?

More precisely:

> > +    -re "The target is assumed to be big endian.*" {
> > +        pass "endianess"
> > +        set endianness "big"
> > +    }

GDB has concluded from something (an earlier set command?  one of my
gdbarch initialization changes?) that the user has specified the
endianness.

Looking at it now, it looks to me like I've got a condition backwards
in show_endian.  The != should actually be an ==.  I can't test a patch
for that until I get home next week though.

-- 
Daniel Jacobowitz
CodeSourcery


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