From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10664 invoked by alias); 27 Jun 2013 17:46:06 -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 10654 invoked by uid 89); 27 Jun 2013 17:46:06 -0000 X-Spam-SWARE-Status: No, score=-8.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 27 Jun 2013 17:46:05 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5RHjmVx020873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 27 Jun 2013 13:45:48 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5RHjkDn029831; Thu, 27 Jun 2013 13:45:47 -0400 Message-ID: <51CC7A4A.2080700@redhat.com> Date: Thu, 27 Jun 2013 17:46:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: gdb-patches@sourceware.org CC: Mircea Gherzan , yao@codesourcery.com, tromey@redhat.com Subject: Re: [PATCH] gdbserver: fix the standalone build References: <1372342963-31611-1-git-send-email-mircea.gherzan@intel.com> <51CC52FD.1040502@redhat.com> <51CC68B7.9060007@intel.com> <51CC7888.1060301@redhat.com> <51CC796B.30303@redhat.com> In-Reply-To: <51CC796B.30303@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00833.txt.bz2 On 06/27/2013 06:42 PM, Pedro Alves wrote: > On 06/27/2013 06:38 PM, Pedro Alves wrote: > >> But instead of that, then, which I'd call a hack, we should >> instead do: > > Or better yet, do as Tom suggests, as I believe we do want > to print the non-canonical string here, exactly as --host > was specified. > Even better, if $host_alias is empty, we should print $host, IMO: $ ./gdbserver --version GNU gdbserver (GDB) 7.6.0.20130529-cvs Copyright (C) 2013 Free Software Foundation, Inc. gdbserver is free software, covered by the GNU General Public License. This gdbserver was configured as "" But that's a preexisting bug. -- Pedro Alves