This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Tighten regexp in gdb.base/setshow.exp
- From: "Andrew Burgess" <aburgess at broadcom dot com>
- To: "Pedro Alves" <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 26 Nov 2013 16:38:26 +0000
- Subject: Re: [PATCH] Tighten regexp in gdb.base/setshow.exp
- Authentication-results: sourceware.org; auth=none
- References: <5294C81D dot 2070903 at broadcom dot com> <5294C8FB dot 5010700 at redhat dot com>
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