This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/testcase] gdb.base/bang.exp: accespt sim's output
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: Kei Sakamoto <sakamoto dot kei at renesas dot com>, gdb-patches at sources dot redhat dot com
- Date: Mon, 7 Jul 2003 10:33:22 -0400
- Subject: Re: [patch/testcase] gdb.base/bang.exp: accespt sim's output
- References: <011201c341d6$5c5d48d0$5169910a@KEI> <3F098189.2090601@redhat.com>
On Mon, Jul 07, 2003 at 10:19:53AM -0400, Andrew Cagney wrote:
> > The attached patch fixes gdb.base/bang.exp so that it accepts
> > sim's output.
> >
> > The current test always fails with sim.
> >
> > (gdb) run
> > Starting program:
> > /project/m32r-tools/insight-20030703/build/gdb/testsuite/gdb.base/bang!
> > 0
> >
> > *** EXIT code 0
>
> This is from the test wrapper stuff? Now that the h8300 is fixed (exits
> with proper exit codes), wouldn't it be better to instead just delete
> the wrapper stuff from the test framework and make the h8300 a normal
> target?
Well, ARM has the same problem; the trap it uses to report exits by
default doesn't seem to support an exit code.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer