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: [commit] Properly anchor gdb_test_multiple in bfp-test.exp


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


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