[commit] Properly anchor gdb_test_multiple in bfp-test.exp

Daniel Jacobowitz drow@false.org
Tue Nov 1 13:55:00 GMT 2005


On Tue, Nov 01, 2005 at 05:47:49PM +0800, Wu Zhou wrote:
> Thanks, Kettenis.  I had one question though.
> 
> On Mon, 31 Oct 2005, kettenis@gnu.org wrote:
> 
> [snip]
> 
> > -    -re "Invalid number" {
> > +    -re "Invalid number.*$gdb_prompt $" {
> 
> Could this used in gdb_test?  When I used it in gdb_test, it always report 
> FAIL.

Correct.  You have to anchor for gdb_expect and gdb_test_multiple, but
not gdb_test.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb-patches mailing list