Hi, Here are two patches for remote debugging. The first one is pretty straightforward and just makes use of the last parameter to getpkt(). The second one changes banner printed after successful connection to gdbserver from "Remote debugging using :1234" to more informational "Remote debugging from host whatever.name.com". When debugging via serial line, nothing changes. Index: ChangeLog * remote.c: Added WAIT_FOREVER_FLAG and changed all calls to getpkt() to respect it. * gdbserver/remote-utils.c (remote_open): After successful connection the remote host name is printed instead of local port number. Michal Ludvig -- * SuSE CR, s.r.o * mludvig@suse.cz * +420 2 9654 5373 * http://www.suse.cz