Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Michael Snyder <msnyder@redhat.com>
Cc: Andrew Cagney <ac131313@cygnus.com>,
	GDB Patches <gdb-patches@sourceware.cygnus.com>
Subject: Re: [rfa] unify some pthreads.exp messages
Date: Fri, 09 Feb 2001 09:35:00 -0000	[thread overview]
Message-ID: <3A8429C8.9ED9C38@redhat.com> (raw)
In-Reply-To: <3A84273A.5F66@redhat.com>

Michael Snyder wrote:
> 
> Andrew Cagney wrote:
> >
> > Hello,
> >
> > The attatched fixes a few more testsuite messages so that they are
> > consistent.
> 
> This looks good to me.
> 

For me too.


> >
> >         Andrew
> >
> >     ---------------------------------------------------------------
> > Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
> >
> >         * gdb.threads/pthreads.exp: Unify pass/fail messages for
> >         ``continue to bkpt at common_routine in thread 2'' and ``stopped
> >         before calling common_routine 15 times'' tests.
> >
> > Index: gdb.threads/pthreads.exp
> > ===================================================================
> > RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/pthreads.exp,v
> > retrieving revision 1.2
> > diff -p -r1.2 pthreads.exp
> > *** pthreads.exp        2000/04/07 01:14:10     1.2
> > --- pthreads.exp        2001/02/08 03:19:56
> > *************** proc all_threads_running {} {
> > *** 142,150 ****
> >
> >       send_gdb "p common_routine::hits\n"
> >       gdb_expect {
> > !       -re ".*= 15\r\n$gdb_prompt $" {}
> > !       -re ".*= 16\r\n$gdb_prompt $" {}
> > !       -re ".*= 17\r\n$gdb_prompt $" {}
> >         default {
> >             fail "stopped before calling common_routine 15 times"
> >             return 0
> > --- 142,156 ----
> >
> >       send_gdb "p common_routine::hits\n"
> >       gdb_expect {
> > !       -re ".*= 15\r\n$gdb_prompt $" {
> > !           pass "stopped before calling common_routine 15 times"
> > !       }
> > !       -re ".*= 16\r\n$gdb_prompt $" {
> > !           pass "stopped before calling common_routine 15 times (16 times)"
> > !       }
> > !       -re ".*= 17\r\n$gdb_prompt $" {
> > !           pass "stopped before calling common_routine 15 times (17 times)"
> > !       }
> >         default {
> >             fail "stopped before calling common_routine 15 times"
> >             return 0
> > *************** proc check_backtraces {} {
> > *** 293,298 ****
> > --- 299,305 ----
> >       send_gdb "continue\n"
> >       gdb_expect {
> >         -re "Breakpoint .* common_routine \\(arg=2\\).*" {
> > +           pass "continue to bkpt at common_routine in thread 2"
> >             send_gdb "backtrace\n"
> >             gdb_expect {
> >                 -re "#0.*common_routine \\(arg=2\\).*#1.*thread2.*" {
> > *************** proc check_backtraces {} {
> > *** 307,322 ****
> >             }
> >         }
> >         -re "Breakpoint .* common_routine \\(arg=0\\).*" {
> > !           fail "stopped in main thread at breakpoint for thread 2"
> >         }
> >         -re "Breakpoint .* common_routine \\(arg=1\\).*" {
> > !           fail "stopped in main thread at breakpoint for thread 1"
> >         }
> >         -re ".*$gdb_prompt" {
> >             fail "continue to bkpt at common_routine in thread 2"
> >         }
> >         default {
> > !           fail "continue to bkpt at common_routine in thread 2"
> >         }
> >         timeout {
> >             fail "continue to bkpt at common_routine in thread 2 (timeout)"
> > --- 314,329 ----
> >             }
> >         }
> >         -re "Breakpoint .* common_routine \\(arg=0\\).*" {
> > !           fail "continue to bkpt at common_routine in thread 2 (arg=0)"
> >         }
> >         -re "Breakpoint .* common_routine \\(arg=1\\).*" {
> > !           fail "continue to bkpt at common_routine in thread 2 (arg=1)"
> >         }
> >         -re ".*$gdb_prompt" {
> >             fail "continue to bkpt at common_routine in thread 2"
> >         }
> >         default {
> > !           fail "continue to bkpt at common_routine in thread 2 (default)"
> >         }
> >         timeout {
> >             fail "continue to bkpt at common_routine in thread 2 (timeout)"

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


      reply	other threads:[~2001-02-09  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3A820FF8.1FD6E9B4@cygnus.com>
2001-02-09  9:25 ` Michael Snyder
2001-02-09  9:35   ` Fernando Nasser [this message]

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=3A8429C8.9ED9C38@redhat.com \
    --to=fnasser@redhat.com \
    --cc=ac131313@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    --cc=msnyder@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