[PATCH] Tighten regexp in gdb.base/setshow.exp

Pedro Alves palves@redhat.com
Tue Nov 26 16:35:00 GMT 2013


On 11/26/2013 04:11 PM, Andrew Burgess wrote:
> 
> 2013-11-26  Andrew Burgess  <aburgess@broadcom.com>
> 
> 	* gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
> 	gdb_test_multiple.

OK, thanks.

> +    -re "\nHOME = (\[^\n\r\]*)\[\r\n\]+$gdb_prompt $" {

Any reason to write \n\r instead of the more usual \r\n though ?

-- 
Pedro Alves



More information about the Gdb-patches mailing list