This is the mail archive of the gdb-patches@sourceware.org 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] gdb.base/volatile.exp / varargs.exp: replace send_gdb with gdb_test


On Thursday 20 May 2010 17:31:30, Joel Brobecker wrote:
> > something like this is used in several places in the
> > testsuite.  we could perhaps add a wrapper in gdb.exp.
> 
> 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".

> gdb_test_no_output?

Sounds good.

-- 
Pedro Alves


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