From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Pedro Alves'" <pedro@codesourcery.com>, <gdb-patches@sourceware.org>
Subject: Spurius results for cygwin selftest.exp(was Re: [RFC] fix annoying completion bug on directories)
Date: Tue, 08 Jul 2008 22:16:00 -0000 [thread overview]
Message-ID: <000101c8e148$37967000$a6c35000$@u-strasbg.fr> (raw)
In-Reply-To: <200807060456.49298.pedro@codesourcery.com>
> > I ran the testsuite on cygwin, and found one
> > change, but in gdb.gdb/selftest.
> > FAIL (timeout) xgdb is at prompt
> >
> > I suspect that this is due to a problem with the
> > [New thread %s] output, that are now default.
> > Because this output appears right after the gdb prompt,
> > and thus the match with a gdb prompt exactly at the end
> > is not found.
>
> In these cases, in addition to analising the log file, please
> rerun the test to confirm it was spurious. Cygwin testing
> is indeed flackier than linux.
This is indeed a spurious FAIL that has to do with that
third thread that start on cygwin right after the command prompt is
printed out.
Does anyone know why there is a third thread starting?
Debugging threads under cygwin is quite difficult, you never really know
where they are coming from...
I am really surprised that now, by default, gdb will print
debug message, while the inferior is running, without stopping it.
For me, when gdb is started with the default options,
gdb should only output text if it stops the debuggee, otherwise
it becomes difficult for the average user to handle.
But I understood that the [New thread... message was
already the default on Linux targets..
>
> Just do make check RUNTESTFLAGS="failingtest.exp" a couple of
> times. If it's always failing now, it's a regression. If
> the failure goes aways, then also retest with with the
> patch unapplied. You should see the flackiness too. If
> not, it may be a regression, but you'll have to judge from
> the logs -- it may just be difficult to reproduce flackiness.
I got it give PASS or FAIL several times,
it's really a question of how much time there is
in between the (gdb) prompt and the [New thread...] message.
I could of of course update the selftest.exp test
to also accept the "[New thread ...]" message,
but I would like your opinions about this before,
we could easily suppress these messages by setting
print_thread_events to zero by default.
Pierre Muller
Pascal language support maintainer for GDB
next prev parent reply other threads:[~2008-07-08 22:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-05 23:37 [RFC] fix annoying completion bug on directories Pierre Muller
2008-07-06 3:57 ` Pedro Alves
2008-07-08 22:16 ` Pierre Muller [this message]
2008-07-10 21:18 ` Spurius results for cygwin selftest.exp(was Re: [RFC] fix annoying completion bug on directories) Christopher Faylor
2008-07-10 21:48 ` Daniel Jacobowitz
2008-07-10 22:08 ` Pedro Alves
2008-07-08 22:16 ` [RFA] fix annoying completion bug on directories Pierre Muller
2008-07-08 22:31 ` Daniel Jacobowitz
2008-07-08 22:49 ` Pierre Muller
2008-07-12 19:10 ` [RFA-updated] " Pierre Muller
2008-07-14 22:51 ` [RFA] " Eli Zaretskii
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='000101c8e148$37967000$a6c35000$@u-strasbg.fr' \
--to=muller@ics.u-strasbg.fr \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.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