This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/testsuite] check bt problem after 2 steps is gone
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 27 Jul 2006 09:41:39 -0400
- Subject: Re: [RFA/testsuite] check bt problem after 2 steps is gone
- References: <20060428174035.GF930@adacore.com>
On Fri, Apr 28, 2006 at 10:40:35AM -0700, Joel Brobecker wrote:
> Hello,
>
> This is a new testcase that checks that the issue reported in:
>
> http://sources.redhat.com/ml/gdb-patches/2006-04/msg00367.html
>
> will not regress again.
>
> 2006-04-28 Joel Brobecker <brobecker@adacore.com>
>
> * gdb.base/step-bt.c: New file.
> * gdb.base/step-bt.exp: New testcase.
>
> Tested on i686-pc-cygwin. on XFAIL on the last test with the current
> sources, all PASSes once the patch in the message mentioned above is
> applied.
>
> OK to apply?
When the patch goes in, this is fine. Thanks for the test.
> gdb_test "stepi 2" \
> "" \
> "step 2 instructions"
>
> gdb_test "bt" \
> "#0 +0x\[0-9a-z\]+ in hello .*#1 +0x\[0-9a-z\]* in main.*" \
> "backtrace after two instruction steps"
Would it work to test backtrace after each of two stepi's? That might
turn up interesting similar problems on more platforms.
--
Daniel Jacobowitz
CodeSourcery