From: Michael Snyder <msnyder@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA (threads testsuite): More thread tests
Date: Fri, 23 Aug 2002 15:45:00 -0000 [thread overview]
Message-ID: <3D66BA65.8073CCD6@redhat.com> (raw)
In-Reply-To: <20020823190254.GA26364@nevyn.them.org>
Daniel Jacobowitz wrote:
>
> On Fri, Aug 23, 2002 at 11:51:41AM -0700, Michael Snyder wrote:
> > Daniel Jacobowitz wrote:
> > >
> > > On Thu, Aug 22, 2002 at 04:34:51PM -0700, Michael Snyder wrote:
> > > > Daniel Jacobowitz wrote:
> > > > >
> > > > > Here's two tests I had lying around from when I developed the gdbserver
> > > > > threads support. Gdbserver passes them with flying colors (if you use my
> > > > > other patch which lets gdbserver run tests properly). GDB shows a couple of
> > > > > problems, unpredictably (not always repeatable).
> > > > >
> > > > > OK to add these?
> > > >
> > > > Hi Joel,
> > > >
> > > > I understand the point of schedlock.exp, but what's the point of
> > > > print-threads.exp? What is it that you're testing?
> > >
> > > No specific feature - just the general ability to handle threads doing
> > > things. It has a slightly different behavior pattern than the other
> > > threads testscases, and triggered different problems. Oh, and I
> > > remember - there is no other testcase in the testsuite with
> > > pthread_join in it; no threads ever actually exit. I found some
> > > problems there while I was implementing the gdbserver threads support.
> >
> > OK, then, since we definitely need more thread testing,
> > let's accept these. I like the way you verified that
> > schedlock was implemented for the target before testing it.
> >
> > BTW, do these really have to be native-only? They should
> > work for embedded pthread targets, shouldn't they?
>
> (And I'll make them use the new compile command too!)
>
> Sure. But which ones will it work on, that's the question. I'm
> tempted to have a gdb_skip_threads_test, but not sure what to key it
> off of...
Well -- if they won't build (eg. because there's no threads library),
it's a pretty sure bet they won't run. If they do build...
prev parent reply other threads:[~2002-08-23 22:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-09 8:47 Daniel Jacobowitz
2002-08-13 15:48 ` Fernando Nasser
2002-08-14 9:06 ` Daniel Jacobowitz
2002-08-22 16:41 ` Michael Snyder
2002-08-22 18:35 ` Daniel Jacobowitz
2002-08-23 12:02 ` Michael Snyder
2002-08-23 12:11 ` Daniel Jacobowitz
2002-08-23 14:08 ` Daniel Jacobowitz
2002-08-23 15:45 ` Michael Snyder [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=3D66BA65.8073CCD6@redhat.com \
--to=msnyder@redhat.com \
--cc=drow@mvista.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