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: RFA: handle GDB prompt appearing in command output


Andrew Cagney <ac131313@ges.redhat.com> writes:

As a side effect, this patch no longer checks that the order is
correct. Is this intentional?  gdb_expect_list might prove a better
choice since it still enforces the order.

It wasn't deliberate, but I think I like it anyway.  :)

If the output from 'info set' appears in a different order, but the
stuff we're looking for is all there, I don't think that's grounds for
a failure.
The output from ``info set'' should be sorted(1). If it isn't sorted i.e. is in a different order, we have a bug and, hence, the test should fail.

Andrew

(1) I'll ignore the effects that the locale could potentially have on the sorting order. Lets for the moment assume a C locale.



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