This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa] gdb.base/volatile.exp / varargs.exp: replace send_gdb with gdb_test
> > I think we should - it's something that is so common, and the
> > gdb.reverse section alone is littered with FIXMEs because of
> > this issue.
>
> Yeah, I pointed this out before in that context, and also pointed
> out in that context that for "set foo", we could try "show foo", and
> confirm that what we tried to set actually was set. Similarly
> for any test that should produce no output and that has a
> corresponding "state getter".
Makes total sense to me. It might be unfair to put that on Michael's
shoulders for that patch, but if he's up for it, maybe as a followup
patch...
> > gdb_test_no_output?
>
> Sounds good.
Michael: Are you up for implementing that function? It should be in
testsuite/lib/gdb.exp, and implemented using the code that Pedro
provided (minus the regexp part between the anchor and the \n\r).
Otherwise, I'll try to work on it later this afternoon for you.
--
Joel