This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]