This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbserver: fix the standalone build
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Mircea Gherzan <mircea dot gherzan at intel dot com>, yao at codesourcery dot com, tromey at redhat dot com
- Date: Thu, 27 Jun 2013 18:45:46 +0100
- Subject: Re: [PATCH] gdbserver: fix the standalone build
- References: <1372342963-31611-1-git-send-email-mircea dot gherzan at intel dot com> <51CC52FD dot 1040502 at redhat dot com> <51CC68B7 dot 9060007 at intel dot com> <51CC7888 dot 1060301 at redhat dot com> <51CC796B dot 30303 at redhat dot com>
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