wrong htons() used?

Grant.Edwards@comtrol.com Grant.Edwards@comtrol.com
Thu Oct 21 15:22:00 GMT 1999


On Fri, Oct 22, 1999 at 12:18:18AM +0200, Mark Kettenis wrote:

> You probably disabled optimization, and renabled it later on.  

Yup, just discovered that.

> Somehow
> you are using ARM headers to compile i386 code or the other way
> around.  

That's what I suspected was going on -- something in netinet/in.h
is getting fooled by something that was defined for the target.

> If you're using GCC you could use the `-v' compiler option to
> see what headers are used.

Good idea.  I'll try that next.

-- 
Grant Edwards
Grant.Edwards@comtrol.com


More information about the Gdb mailing list