This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[rfc] Fix info spu mailbox command
- From: Markus Deuling <deuling at de dot ibm dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Fri, 14 Mar 2008 07:27:22 +0100
- Subject: [rfc] Fix info spu mailbox command
Hi,
gdb.arch/spu-info.exp FAILs when testing "info spu mailbox" command due to a fix
http://patchwork.ozlabs.org/cbe-oss-dev/patch?id=15729
in the linux kernel which initializes the mailbox values correct now.
Ok ?
ChangeLog:
* gdb.arch/spu-info.exp (info spu mailbox): Use correct initialisation
value.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
diff -urpN src/gdb/testsuite/gdb.arch/spu-info.exp dev/gdb/testsuite/gdb.arch/spu-info.exp
--- src/gdb/testsuite/gdb.arch/spu-info.exp 2008-01-01 23:53:18.000000000 +0100
+++ dev/gdb/testsuite/gdb.arch/spu-info.exp 2008-03-14 07:23:06.000000000 +0100
@@ -201,7 +201,7 @@ gdb_test "finish" "" "finish"
# 'info spu mailbox' should be empty.
c_to "Marker Mbox"
gdb_test "info spu mailbox" \
- "SPU Outbound Mailbox.*0xc0000000.*SPU Outbound Interrupt Mailbox.*0xc0000000.*" \
+ "SPU Outbound Mailbox.*0x00000000.*SPU Outbound Interrupt Mailbox.*0x00000000.*" \
"info spu mailbox"
# 'info spu mailbox' should now contain data.