From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12153 invoked by alias); 20 Aug 2007 12:30:26 -0000 Received: (qmail 12088 invoked by uid 22791); 20 Aug 2007 12:30:25 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 20 Aug 2007 12:30:16 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id l7KCUEXM040746 for ; Mon, 20 Aug 2007 12:30:14 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l7KCUDQj2179156 for ; Mon, 20 Aug 2007 14:30:13 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l7KCUDcZ030721 for ; Mon, 20 Aug 2007 14:30:13 +0200 Received: from bbkeks.boeblingen.de.ibm.com (sig-9-145-150-85.de.ibm.com [9.145.150.85]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l7KCUBtJ030646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Aug 2007 14:30:13 +0200 Message-ID: <46C988F7.1030102@de.ibm.com> Date: Mon, 20 Aug 2007 12:30:00 -0000 From: Markus Deuling User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Daniel Jacobowitz , Ulrich Weigand , GDB Patches Subject: Re: [Patch]: Fix sockethost handling in board config References: <46C92424.2040503@de.ibm.com> <20070820113153.GB5195@caradoc.them.org> In-Reply-To: <20070820113153.GB5195@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2007-08/txt/msg00390.txt.bz2 Daniel Jacobowitz schrieb: >> >> this patch fixes handling of gdbserver parameter in >> testsuite/lib/gdbserver-support.exp. >> When using the testsuite remotely there are two parameters possible for remote >> host configuration: >> sockethost and socketport. Currently sockethost is ignored. > > Why does it need to be fixed? gdbserver doesn't do anything with the > hostname, so there's no need to pass it, and the existing sockethost > variable is honored. That's "sockethost", not "gdb,sockethost". > Neither "sockethost" nor "gdb,sockethost" is honored currently. # Export the host:port pair. set gdbport $debughost$portnum # Fire off the debug agent. This flavour of gdbserver takes as # arguments the port information, the name of the executable file to # be debugged, and any arguments. set gdbserver_command "$gdbserver :$portnum $gdbserver_server_exe The hostname isnt passed to the gdbserver command. Why is it gdb,socketport and sockethost?!? I think it makes sense to name the two variables in the same way. They are a pair that belongs together. -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com