This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 27.06.2013 19:45, Pedro Alves wrote:
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 ""
So in the end it's a matter of either1. quoting the parameters when calling create-version.sh and getting an empty string at --version, OR
2. using $host when $host_alias is empty I favour the latter. Tom, what do think? Thanks, Mircea -- Intel GmbH Dornacher Strasse 1 85622 Feldkirchen/Muenchen, Deutschland Sitz der Gesellschaft: Feldkirchen bei Muenchen Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk Registergericht: Muenchen HRB 47456 Ust.-IdNr./VAT Registration No.: DE129385895 Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |