public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/29024] New: [gdb/testsuite] gdb.base/attach.exp: y answered despite no prompt
@ 2022-04-04 12:30 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2022-04-04 12:30 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29024

            Bug ID: 29024
           Summary: [gdb/testsuite] gdb.base/attach.exp: y answered
                    despite no prompt
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

I ran into a timeout here in gdb.base/attach.exp:
...
    gdb_test_multiple "" $test {
        -re {Attaching to.*Start it from the beginning\? \(y or n\) } {
            pass $test
        }
    }

    send_gdb "y\n"
...
and then noticed the test-case sending "y" despite the fact that no prompt was
given.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-04 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 12:30 [Bug testsuite/29024] New: [gdb/testsuite] gdb.base/attach.exp: y answered despite no prompt vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).