[PATCH] gdbserver: fix the standalone build
Mircea Gherzan
mircea.gherzan@intel.com
Thu Jun 27 18:42:00 GMT 2013
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 either
1. 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
More information about the Gdb-patches
mailing list