From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1404 invoked by alias); 10 Mar 2014 02:54:40 -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 1390 invoked by uid 89); 10 Mar 2014 02:54:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f174.google.com Received: from mail-ob0-f174.google.com (HELO mail-ob0-f174.google.com) (209.85.214.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 10 Mar 2014 02:54:37 +0000 Received: by mail-ob0-f174.google.com with SMTP id wo20so6456050obc.33 for ; Sun, 09 Mar 2014 19:54:35 -0700 (PDT) X-Received: by 10.60.132.12 with SMTP id oq12mr22336839oeb.42.1394420075423; Sun, 09 Mar 2014 19:54:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.22.41 with HTTP; Sun, 9 Mar 2014 19:53:55 -0700 (PDT) In-Reply-To: <531D2739.3000508@codesourcery.com> References: <531D2739.3000508@codesourcery.com> From: Hui Zhu Date: Mon, 10 Mar 2014 02:54:00 -0000 Message-ID: Subject: Re: target-delegates.c needs some TLC [was Re: [OB PATCH] target.h (to_traceframe_info): Fix TARGET_DEFAULT_RETURN] To: Yao Qi Cc: Doug Evans , Tom Tromey , Hui Zhu , gdb-patches ml Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00225.txt.bz2 Now, GDB has supported python. And most distributions depth depend on the python. What about change this script to python. Thanks, Hui On Mon, Mar 10, 2014 at 10:45 AM, Yao Qi wrote: > On 03/06/2014 01:20 PM, Doug Evans wrote: >> While I realize we don't want to require perl for building gdb (and I >> for one would never advocate it), I wonder if we can do at least a bit >> better. > > perl is required by git, and GDB source is version controlled by git. > I assume that most of the host machine used for gdb development have > git and perl installed. People may get source from release, and > generate patch on top of it (without git/perl installed). It isn't > common, is it? > > Anyway, we can check whether perl is installed. If perl is installed, > run make-target-delegates during make and error out if new-generated > target-delegates.c is different from the one in gdb source. Is it good? > If yes, I'll submit a patch for this. > > Using --enable-maintainer-mode or adding new --enable-foo option isn't > appealing to me. > > -- > Yao (=E9=BD=90=E5=B0=A7)