[patch 3/3] add missing gdb_test arguments in paginate-bg-execution.exp

Sandra Loosemore sandra@codesourcery.com
Fri Dec 25 19:39:00 GMT 2015


On 12/21/2015 05:27 AM, Joel Brobecker wrote:
>> If it wasn't supposed to be correct, then it'd be good to add
>> an "error" call in gdb_test, to make it a hard error.
>>
>> But I think it is supposed to work.  At least
>>
>>   $ grep -rn "gdb_test "  | grep -v "\".*\".*\"" | grep -v "\\\\"
>>
>> shows many (hundreds) of instances.  With no explicit pattern,
>> we end up just matching the prompt, ignoring whatever output
>> precedes it.
>
> Yes, I confirm it is supposed to work, or at least it's been
> acknowledged to be that way for quite a while. The last time
> we discussed it is when we created gdb_test_no_output.

OK.  I think this tweak to the comments is obvious enough that I've gone 
ahead and checked it in.

-Sandra

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.log
Type: text/x-log
Size: 167 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20151225/79bbe106/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.patch
Type: text/x-patch
Size: 845 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20151225/79bbe106/attachment-0001.bin>


More information about the Gdb-patches mailing list