Danny Backx wrote:

>On Mon, 2006-10-30 at 12:23 +0000, Pedro Alves wrote:
>  
>
>>>The real solution would be to port gdbserver (there is a mingw port in 
>>>gdb-cvs) to wince. The problem is that
>>>gdbserver doesn't have dll debugging support. If that hack doesn't work, 
>>>porting gdbserver should be a priority.
>>>I've been meaning to do it for some time, and I guess now is the time...
>>>Adding dll support is doable, but it requires hacking the gdb's remote 
>>>protocol. Since desktop MinGW and cygwin would benefit from
>>>this work too, we might get some good help from the gdb folks.
>>>      
>>>
>
>  
>
>>Would just like to add that I suspect that the reason that 
>>arm-wince-mingw32ce-gdb is much slower on
>>linux that on cygwin is because we are picking up some wrong defines 
>>from the wrong headers.
>>    
>>
>
>Pedro,
>
>Which defines, which headers ? If you have a reasonable clue then I
>might want to dig in. Saves me time when debugging :-)
>  
>

I mean the w32api/include headers are picked up before the /usr/include 
headers. So if any
define happens to be different on the two something will break.
Things like the named values for errno (ENOSYS, ERANGE, etc.), the 
values to be passed to socket (SOCK_*),
to ioctl, the signals, etc, etc.

Cheer,
Pedro Alves


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to