Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] volatile.exp fix-ups
Date: Fri, 28 Sep 2001 04:44:00 -0000	[thread overview]
Message-ID: <20010928134410.S21192@cygbert.vinschen.de> (raw)
In-Reply-To: <3BB39C42.A0A311BE@cygnus.com>

On Thu, Sep 27, 2001 at 02:38:10PM -0700, Michael Snyder wrote:
> Fernando Nasser wrote:
> > 
> > Michael Snyder wrote:
> > >
> > > This extends the work that Corinna and I did on constvars.exp
> > > into volatile.exp (allowing the test to proceed if compiled
> > > with gcc and dwarf-2).
> > >
> > > Tested on Linux native with both stabs (xfail) and dwarf-2 (pass)
> > >
> > 
> > Sure thing.
> > 
> > Thanks Michael and Corinna.
> > 
> > Fernando
> 
> Nice collaboration.  I should metion that Jim Blandy and Fernando
> both gave valuable feedback off-list.

I have just commited the following patch to gdb.base/volatile.exp
as `obvious' patch.  It just accepts additional `int' keywords in the
output of the qux2 test.

2001-09-28  Corinna Vinschen  <vinschen@redhat.com>

        * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
        check to allow additional `int'.

Index: volatile.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/volatile.exp,v
retrieving revision 1.3
diff -u -p -r1.3 volatile.exp
--- volatile.exp        2001/09/27 21:35:56     1.3
+++ volatile.exp        2001/09/28 11:39:31
@@ -254,7 +254,7 @@ gdb_test "ptype vendor" "type = const vo
 local_compiler_xfail_check
 send_gdb "ptype qux2\n"
 gdb_expect {
-    -re "type = int \\(volatile unsigned char, const volatile int, volatile sho
rt, volatile long \\*, float \\* volatile, const volatile signed char \\* const 
volatile\\).*$gdb_prompt $" {
+    -re "type = int \\(volatile unsigned char, const volatile int, volatile sho
rt( int)?, volatile long( int)? \\*, float \\* volatile, const volatile signed c
har \\* const volatile\\).*$gdb_prompt $" {
         pass "ptype qux2"
     }
     -re ".*$gdb_prompt $" { fail "ptype qux2" }

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


  reply	other threads:[~2001-09-28  4:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3BB395AC.6CC343C5@cygnus.com>
2001-09-27 14:18 ` Fernando Nasser
2001-09-27 14:38   ` Michael Snyder
2001-09-28  4:44     ` Corinna Vinschen [this message]
2001-09-28 11:19       ` Michael Snyder

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=20010928134410.S21192@cygbert.vinschen.de \
    --to=vinschen@redhat.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