This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: rs6000-tdep - Further Developments
Steven Johnson wrote:
>
> It starts up, I type:
> target remote localhost:2345
>
> to connect to a stub driver program i wrote that is listening on port
> 2345 i get the response:
> localhost:2345: Success.
>
> If my stub driver program is not running i get:
> localhost:2345: No such file or directory.
>
> All of this looks fine, except:
> 1. My driver program has not actually been connected to, it is still
> listening on port 2345 for a connection. (This program works with
> earlier versions of GDB fine.)
1) Use "set debug remote 2" and see what exactly happen when you issue
your "target remote ..." command.
2) If this does not give you the indication of what is going wrong,
use tcpdump to verify what is really going on between gdb and your stub.
BTW, this code is not particular to powerpc and it works everywhere else.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299