This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: wrong htons() used?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]