Hi,

not sure what's up with that, but I'm having this problem with gdb 6.4
# /gdb/wince-stub.exe 169.254.2.2 /bin/php
shows the box that reads
"Couldn't get UP address of host system. Error 11001"

I think in the source code, the idea is that if the host is given, then it
should do gethostbyname, or just use the IP address if the input is
IP address.

Since I do give it a straight IP address, I should never see the error message.
So, either the IP address is not picked up from the command line, or the
numeric IP address is not recognized as such. I couldn't find any other reasons
for that error message, not by looking at wince-stub.c around line 740.


Btw, the port seems to be a hard coded constant of 7000
And, for the second argument (the binary) , I don't think any
other arguments are ever considered

I'll try the recently published (source wasn't changed, right?) gdb 6.8,
but had the wince stub been changed at all??

Thanks,
  Pawel.

-----Original Message-----
From: Pedro Alves [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Alves
Sent: Saturday, December 01, 2007 11:17 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Cegcc-devel] mingw32ce gdb to wm2005 over RNDIS

Steve DeLaney wrote:

> its not at all clear (to me at least :-)how the gdbserver stub gets
> launched, so I tried this
>

It is launched using RAPI commands.

> arm-wince-minw32ce-stub.exe ip-address:9999 baz.exe
>
> where ip-address can be seen on fedora host as ifconfig rndis0 ...
> inet addr:169.254.2.2
>
> but the gdb stub fails with a messagebox "Couldn't get IP address of
> host system. Error 11001"
>
>
> any ideas???
>

It has been over a year since I looked at the hacky gdb/stub pair we're
still distributing, but I don't think you should be specifying a ":9999"
port.

Be sure you have tcp/ip connectivity with the device, and try:
arm-wince-minw32ce-stub.exe 169.254.2.2 baz.exe

(Having stock gdb/gdbserver work flawlessly on WM5 just became top of my
TODO now. 2003 has been working fine already for a few months. Try gdb
6.7.1 for that -- OTHO, humm, I guess I'll upload a tarball with a few extra
patches for people to try it out easilly).

--
Pedro Alves


-- 
With best of best regards
Pawel S. Veselov

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to