This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [committed testsuite patch] auxv.exp cascading failures
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb-patches at sources dot redhat dot com, roland at redhat dot com
- Cc: mec dot gnu at mindspring dot com
- Date: Fri, 4 Jun 2004 19:44:09 -0400 (EDT)
- Subject: Re: [committed testsuite patch] auxv.exp cascading failures
It's PR gdb/1647, sorry if the number got detached somewhere.
I have a concern about this patch. Code like this:
-re "The program has no auxiliary information now.*$" {
set bad 1
exp_continue
}
...
It might consume an arbitrary number of characters with ".*",
maybe including a $gdb_prompt, maybe not. Maybe even consuming
only part of the prompt! We're at the mercy of OS buffering
for how many characters get delivered to expect at once.
Jim B has seen a lot of this lately. So I don't think the ".*$"
is robust.
Michael C