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: [PATCH] Tighten regexp in gdb.base/setshow.exp


On 26/11/2013 4:14 PM, Pedro Alves wrote:
> 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 ?

No, just my fingers.  I've switched them to "\r\n" in the version
I just pushed.

Thanks,
Andrew




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