[Patch]: Fix sockethost handling in board config
Markus Deuling
deuling@de.ibm.com
Mon Aug 20 05:20:00 GMT 2007
Hi,
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.
The format for host and port configuration is <host>:<port>. This patch also adds a ":" between sockethost and socketport to that it isn't needed to add it in a board configuration file anymore:
# Name of the computer whose socket will be used, if required.
set_board_info gdb,sockethost "localhost"
# Port ID to use for socket connection
set_board_info gdb,socketport "2222"
Tested on x86 by running testsuite remotely.
ChangeLog:
* testsuite/lib/gdbserver-support.exp (gdbserver_spawn): Fix sockethost
configuration.
Is this ok to commit?
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-fix-gdbsrv
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070820/339fff00/attachment.ksh>
More information about the Gdb-patches
mailing list