RFA: Recognize 'unknown host' errors when connecting to gdbserver

Daniel Jacobowitz drow@false.org
Tue Jan 29 17:08:00 GMT 2008


On Thu, Dec 20, 2007 at 12:25:41PM -0800, Jim Blandy wrote:
> 
> This patch makes the GDB test suite not hang when trying to connect to
> gdbserver.  Granted, looking up 'localhost' shouldn't give an error;
> why that happens on my machine is a separate question.
> 
> gdb/testsuite/ChangeLog:
> 2007-12-20  Jim Blandy  <jimb@codesourcery.com>
> 
> 	* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
> 	host' errors.
> 	* lib/mi-support.exp (mi_gdb_target_cmd): Same.

Looks OK, though your indentation doesn't match the neighbors.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list