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: [RFC] Trying to fix testsuite/gdb.arch/i386-sse.exp pattern problem


On Thu, Nov 08, 2007 at 03:14:15PM +0100, Pierre Muller wrote:
> Putting the send_user above inside
> test.exp also gives a pattern matching...
> I am lost.

Me too.  I don't suppose this fails?

printf 'send_user "[regexp {[\r\n]*(.* = 1{1,}2{1,}.*)[\r\n]+\(gdb\) $} {print 1122233\r\n$2 = 1122233\r\n(gdb) }]\n"' | expect

It should print 1; if it prints 0 for you that would be somewhere to
start.

-- 
Daniel Jacobowitz
CodeSourcery


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