From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19604 invoked by alias); 17 Apr 2013 00:55:56 -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 19594 invoked by uid 89); 17 Apr 2013 00:55:56 -0000 X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from mail-vc0-f171.google.com (HELO mail-vc0-f171.google.com) (209.85.220.171) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 17 Apr 2013 00:55:55 +0000 Received: by mail-vc0-f171.google.com with SMTP id ha12so905243vcb.16 for ; Tue, 16 Apr 2013 17:55:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=IcSYbJ8YKstLeqfDsG/hvzvUGSUOyHgAGPb3HQ4AwHU=; b=AcQNvMgWL9iJePt4ky0E4/zl6tM5Op0/DolTtwdvU6XSQ76woEWJAUPexFzN0hIuMo 2hvLwXfBc4uf4vZIldcUyR+vxT5AopSmrYvF5Hm8Un3w2ciLSo7YS/njJDFF4g9O+IGa uML1H3uiLpWEVZEU4eORi65kfzdVISiuzNifIblR/ZdhEiMUqmZOmP85MB2TWAJrPLlK gxXy+5CW9dlwg9JOHhvuhmEAlUUM1OOQXK2Ju0cW8NSisQMgHmU6aL1EifHD+V2vpOr2 2gJXwdx0BbjpYHzKTO3WcQa0n02qQr8C9ES2VHvGlP68JVNLx29M9l3FC/zspdcZzAtR sDPA== MIME-Version: 1.0 X-Received: by 10.58.229.69 with SMTP id so5mr3335541vec.6.1366160153570; Tue, 16 Apr 2013 17:55:53 -0700 (PDT) Received: by 10.220.123.70 with HTTP; Tue, 16 Apr 2013 17:55:53 -0700 (PDT) In-Reply-To: <516DEDAD.8070902@codesourcery.com> References: <1365761475-23845-1-git-send-email-yao@codesourcery.com> <83fvyr58c5.fsf@gnu.org> <516DEDAD.8070902@codesourcery.com> Date: Wed, 17 Apr 2013 10:02:00 -0000 Message-ID: Subject: Re: [PATCH] print '--with{,out}-babeltrace' in 'gdb --configuration' From: Doug Evans To: Yao Qi Cc: Eli Zaretskii , gdb-patches Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQktXI29ZaQqmh+sAgt3yHVxi+eE2tItuo9O+3STnS8XSyruOZ1LCtLuFa9xegmBXiI1UDn4wKdyZkODOr87sOmX+tnT8dDF764yX7DNNvkOzjGnX099JB7+ijYjCxk7bXaAmSxbMQ4WBzaVFmkUAKHud+Aa3wU6qwh6I3n7e8a8IMCUkIzfOCvYfvMxMAuv+ib7s/SemB8Wm5XGXVA3rLxTcNSGZA== X-SW-Source: 2013-04/txt/msg00513.txt.bz2 On Tue, Apr 16, 2013 at 5:32 PM, Yao Qi wrote: > On 04/17/2013 04:36 AM, Doug Evans wrote: >> >> Note that the current code doesn't print*where* libexpat,etc. were found. >> >> Do we want to take the step of adding that to config.in so it's >> available to gdb to print? > > > When we cross compile GDB (build native arm-linux GDB on i686-pc-linux, for > example), the location of libexpat or libbabeltrace on configuration time > (on host) would be different with the location on run-time (on target). I > am afraid it is not useful to print where libexpat or libbabeltrace were > found in the configure and build step. nit: For a canadian cross, s/(on host)/(on build)/ and s/(on target)/(on host)/. It's certainly less useful, but since we're going down this path I wanted to at least raise the question. GCC prints this info. Also, I wonder if we shouild print prefix and/or exec_prefix. We print "(relocatable)" for relocatable directories but I'm left guessing what the root of the relocatable tree is. [We also don't explain what "relocatable" means AFAICS. I know, but I can imagine a user wondering.]