[RFA] Allow use of breakpoint commands inside `if' or `while'

Daniel Jacobowitz drow@false.org
Sat Jan 14 16:28:00 GMT 2006


On Sat, Jan 14, 2006 at 06:23:38PM +0200, Eli Zaretskii wrote:
> > Date: Sat, 14 Jan 2006 10:49:09 -0500
> > From: Daniel Jacobowitz <drow@false.org>
> > 
> > On Fri, Jan 13, 2006 at 06:02:35PM +0200, Eli Zaretskii wrote:
> > > You mean in gdb.base/commands.exp?  I suppose I could do that, but I
> > > don't have a test suite set up anywhere on the machines to which I
> > > have access, so it might not be easy for me to test the tests I add.
> > 
> > That's very unfortunate - it's standard practice to insist that code
> > patches be tested by the testsuite.
> 
> Yes, I know.  Any pointers to howto set up a test suite from scratch
> with minimal pain (on a Debian box)?  I might give it a try on some
> rainy day.

Sure - it's trivial.  Just install the package "dejagnu" using apt,
and then run the testsuite using "make check-gdb" from the top level or
"make check" from the GDB subdirectory.

You will definitely get a handful of failures (which I'm not thrilled
about, but no longer have the energy to fight against).  So run it once
before changing anything and hold on to those baselines.  There's also
a small set of random failures, related to timing - interrupt tests and
thread tests.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list