From: Jim Blandy <jimb@zwingli.cygnus.com>
To: gdb-patches@sources.redhat.com
Subject: RFA: Match gdb prompt in exprs.exp
Date: Tue, 05 Jun 2001 18:39:00 -0000 [thread overview]
Message-ID: <20010606014001.289C45E9CB@zwingli.cygnus.com> (raw)
2001-06-05 Jim Blandy <jimb@redhat.com>
* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Don't forget to match the GDB prompt.
Index: gdb/testsuite/gdb.base/exprs.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/exprs.exp,v
retrieving revision 1.19
diff -c -r1.19 exprs.exp
*** gdb/testsuite/gdb.base/exprs.exp 2000/07/24 10:08:58 1.19
--- gdb/testsuite/gdb.base/exprs.exp 2001/06/06 01:37:26
***************
*** 238,248 ****
#
send_gdb "print sizeof (long long) > sizeof (long)\n"
gdb_expect {
! -re "\\$\[0-9\]* = $true" {
set ok 1
pass "sizeof (long long) > sizeof (long) (true)"
}
! -re "\\$\[0-9\]* = $false" {
set ok 0
pass "sizeof (long long) > sizeof (long) (false)"
}
--- 238,248 ----
#
send_gdb "print sizeof (long long) > sizeof (long)\n"
gdb_expect {
! -re "\\$\[0-9\]* = $true.*$gdb_prompt" {
set ok 1
pass "sizeof (long long) > sizeof (long) (true)"
}
! -re "\\$\[0-9\]* = $false.*$gdb_prompt" {
set ok 0
pass "sizeof (long long) > sizeof (long) (false)"
}
next reply other threads:[~2001-06-05 18:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-05 18:39 Jim Blandy [this message]
2001-06-05 18:45 ` Fernando Nasser
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=20010606014001.289C45E9CB@zwingli.cygnus.com \
--to=jimb@zwingli.cygnus.com \
--cc=gdb-patches@sources.redhat.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