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: Pedro Alves <palves at redhat dot com>
- To: Andrew Burgess <aburgess at broadcom dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 26 Nov 2013 16:14:51 +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>
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