From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60505 invoked by alias); 14 Jul 2015 20:13:48 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 60495 invoked by uid 89); 14 Jul 2015 20:13:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 14 Jul 2015 20:13:46 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 89C312BDB3D; Tue, 14 Jul 2015 20:13:45 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-41.ams2.redhat.com [10.36.116.41]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6EKDfvl031416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Jul 2015 16:13:43 -0400 Date: Tue, 14 Jul 2015 20:13:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org, Aleksandar Ristovski Subject: Re: [PATCH v7 05/10] Move gdb_regex* to common/ Message-ID: <20150714201340.GA29684@host1.jankratochvil.net> References: <20150614192542.18346.87859.stgit@host1.jankratochvil.net> <20150614192621.18346.73242.stgit@host1.jankratochvil.net> <559D3627.8080403@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <559D3627.8080403@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00418.txt.bz2 On Wed, 08 Jul 2015 16:39:35 +0200, Pedro Alves wrote: > On 06/14/2015 08:26 PM, Jan Kratochvil wrote: > > diff --git a/gdb/common/gdb_regex.h b/gdb/common/gdb_regex.h > > new file mode 100644 > > index 0000000..85c9c72 > > --- /dev/null > > +++ b/gdb/common/gdb_regex.h > > @@ -0,0 +1,36 @@ > > +/* Portable . > > + Copyright (C) 2000-2015 Free Software Foundation, Inc. > > + > > + This file is part of GDB. > > + > > + This program is free software; you can redistribute it and/or modify > > + it under the terms of the GNU General Public License as published by > > + the Free Software Foundation; either version 3 of the License, or > > + (at your option) any later version. > > + > > + This program is distributed in the hope that it will be useful, > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + GNU General Public License for more details. > > + > > + You should have received a copy of the GNU General Public License > > + along with this program. If not, see . */ > > + > > +#ifndef COMMON_GDB_REGEX_H > > +#define COMMON_GDB_REGEX_H 1 > > + > > +#ifdef USE_INCLUDED_REGEX > > +# include "xregex.h" > > +#else > > +/* Request 4.2 BSD regex functions. */ > > +# define _REGEX_RE_COMP > > +# include > > +#endif > > + > > +/* From utils.c. */ > > This comment is no longer true. Updated. Thanks, Jan