From: "Robert Norton" <rnorton@broadcom.com>
To: gdb@sourceware.org
Subject: Test failure in mi-cli.exp
Date: Fri, 03 Aug 2007 13:28:00 -0000 [thread overview]
Message-ID: <B0D822BFECD50F4991F2516EA50F273C020E445E@NT-IRVA-0752.brcm.ad.broadcom.com> (raw)
I observed the following when running the gdb testsuite on our
(proprietary) target:
888-interpreter-exec console "set $pc=0x0"
~"Current language: auto; currently asm\n"
888^done
(gdb)
FAIL: gdb.mi/mi-cli.exp: -interpreter-exec console "set $pc=0x0"
The problem is that setting $pc to 0 puts us in an asm file causing the
~"Current language:" message which doesn't match the regex. The same
failure occurs in mi2-cli.exp. Since setting the pc is quite likely to
cause messages of this type on various targets may I propose changing
the test to something like:
mi_gdb_test "888-interpreter-exec console \"set \$pc=0x0\"" \
{.*888\^done} \
"-interpreter-exec console \"set \$pc=0x0\""
(Note the .* before 888\^done)
An alternative would be to set something other than the pc.
This has caused problems in the past:
http://www.ecos.sourceware.org/ml/gdb/2004-04/msg00101.html
Cheers,
Robert
next reply other threads:[~2007-08-03 13:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 13:28 Robert Norton [this message]
2007-08-03 13:50 ` Daniel Jacobowitz
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=B0D822BFECD50F4991F2516EA50F273C020E445E@NT-IRVA-0752.brcm.ad.broadcom.com \
--to=rnorton@broadcom.com \
--cc=gdb@sourceware.org \
/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