Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Fix testsuite annotate-quit race (PR 544)
Date: Tue, 18 Mar 2008 23:18:00 -0000	[thread overview]
Message-ID: <20080318231738.GA22432@caradoc.them.org> (raw)
In-Reply-To: <20080318225436.GA27374@host0.dyn.jankratochvil.net>

On Tue, Mar 18, 2008 at 11:54:36PM +0100, Jan Kratochvil wrote:
> Hi,
> 
> PR 544 des gdb.cp/annota2.exp and gdb.cp/annota3.exp sometimes FAIL with:
> 	FAIL: gdb.cp/annota3.exp: annotate-quit (pattern 1)
> 
> It gets reliably reproducible for me (Fedora 8 x86_64) if GDB gets straced:
> 	mv gdb gdb-orig
> 	wget -O gdb http://cvs.jankratochvil.net/viewcvs/nethome/src/gdb-wrap?rev=HEAD
> 
> The problem is that if usually CTRL-C is hit during poll(2) and everything is
> fine.  But if CTRL-C is hit inside readline processing its RL_SIGNAL_HANDLER
> gets called which calls RL_FREE_LINE_STATE and $gdb_prompt gets displayed twice
> and GDB_EXPECT or GDB_EXPECT_LIST are not patient enough to see later
> ^Z^Zerror-begin+Quit+^Z^Zquit.

Isn't this a bug in GDB, not a bug in the test?

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-03-18 23:18 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18 22:55 Jan Kratochvil
2008-03-18 23:18 ` Daniel Jacobowitz [this message]
2008-03-19  8:11   ` Jan Kratochvil
2008-03-19  8:46     ` Nick Roberts
2008-03-19  9:31       ` Jan Kratochvil
2008-03-19  9:56         ` Nick Roberts
2008-03-19 10:13           ` Jan Kratochvil
2008-03-21 20:45     ` Jan Kratochvil
2008-03-21 21:04       ` Daniel Jacobowitz
2008-03-21 21:45         ` Daniel Jacobowitz
2008-03-23 11:01           ` Nick Roberts
2008-03-23 16:30             ` Daniel Jacobowitz
2008-03-23 16:44               ` Jan Kratochvil
2008-03-23 17:30                 ` Daniel Jacobowitz
2008-03-24  0:07                   ` Nick Roberts
2008-03-24  2:58                     ` Daniel Jacobowitz
2008-03-24  7:42                       ` Jan Kratochvil
2008-03-24 12:00                         ` Daniel Jacobowitz
2008-03-24 13:03                           ` Jan Kratochvil
2008-03-24 13:27                             ` Daniel Jacobowitz
2008-03-25  1:02                       ` Chet Ramey
2008-03-25  2:53                         ` Daniel Jacobowitz
2008-03-25 15:56                           ` Chet Ramey

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=20080318231738.GA22432@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@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