[Bug testsuite/29024] New: [gdb/testsuite] gdb.base/attach.exp: y answered despite no prompt
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Mon Apr 4 12:30:24 GMT 2022
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.
More information about the Gdb-prs
mailing list