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


Hi,

Mark Kettenis schrieb:
Date: Wed, 17 Jan 2007 07:36:59 +0100
From: Markus Deuling <deuling@de.ibm.com>

But I think inserting
+set endianness ""
is a good idea. Then the testcase would have FAILed instead of abort
with an error.

I agree. Feel free to commit that bit.


Mark


this is the patch without the new branch. Could you please commit it?


Thank you very much.



ChangeLog:

*gdb.arch/altivec-regs.exp: Initialise variable
endianness in every case.


=============================================================

--- src/gdb/testsuite/gdb.arch/altivec-regs.exp 2007-01-17 06:57:45.000000000 +0100
+++ dev/gdb/testsuite/gdb.arch/altivec-regs.exp 2007-01-18 10:12:24.000000000 +0100
@@ -89,6 +89,7 @@
gdb_test "next" "" ""

send_gdb "show endian\n"
+set endianness ""
gdb_expect {
    -re "(The target endianness is set automatically .currently )(big|little)( endian.*)$gdb_prompt $" {
        pass "endianness"



Regards,
Markus

--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com



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