From: Markus Deuling <deuling@de.ibm.com>
To: GDB Patches <gdb-patches@sourceware.org>
Cc: Ulrich Weigand <uweigand@de.ibm.com>
Subject: Re: [rfc] Fix info spu mailbox command
Date: Tue, 18 Mar 2008 19:53:00 -0000 [thread overview]
Message-ID: <47E01DB4.6030900@de.ibm.com> (raw)
In-Reply-To: <200803171322.m2HDMfBG006655@d12av02.megacenter.de.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
Ulrich Weigand schrieb:
> Markus Deuling:
>
>> * gdb.arch/spu-info.exp (info spu mailbox): Use correct initialisation
>> value.
>
> This is OK. Even better would be to XFAIL (instead of FAIL) the new test
> on old kernels ...
>
Hi Uli,
now the test XFAILs on old kernels without Jeremy's patch.
Ok ?
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
[-- Attachment #2: fix-spu-mailbox --]
[-- Type: text/plain, Size: 960 bytes --]
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-17 15:56:55.000000000 +0100
@@ -200,9 +200,14 @@ gdb_test "finish" "" "finish"
# Mailbox Test
# 'info spu mailbox' should be empty.
c_to "Marker Mbox"
-gdb_test "info spu mailbox" \
- "SPU Outbound Mailbox.*0xc0000000.*SPU Outbound Interrupt Mailbox.*0xc0000000.*" \
- "info spu mailbox"
+send_gdb "info spu mailbox\n"
+gdb_expect {
+ -re "SPU Outbound Mailbox.*0xc0000000.*SPU Outbound Interrupt Mailbox.*0xc0000000.*$gdb_prompt $"\
+ { xfail "info spu mailbox" }
+ -re "SPU Outbound Mailbox.*0x00000000.*SPU Outbound Interrupt Mailbox.*0x00000000.*$gdb_prompt $"\
+ { pass "info spu mailbox" }
+ timeout { fail "(timeout) info spu mailbox" }
+}
# 'info spu mailbox' should now contain data.
c_to "Marker MboxEnd"
next prev parent reply other threads:[~2008-03-18 19:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 6:27 Markus Deuling
2008-03-17 13:23 ` Ulrich Weigand
2008-03-18 19:53 ` Markus Deuling [this message]
2008-03-18 21:25 ` Joel Brobecker
2008-03-19 10:28 ` Markus Deuling
2008-03-19 11:54 ` Daniel Jacobowitz
2008-03-19 18:01 ` Markus Deuling
2008-03-19 18:33 ` Joel Brobecker
2008-03-19 18:50 ` Markus Deuling
2008-03-19 21:12 ` Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47E01DB4.6030900@de.ibm.com \
--to=deuling@de.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox