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 10:34:04AM +1000, Andrew Cagney wrote:


> I think everyone has agreed that that isn't the problem that is occuring
> here.

I'm pretty sure that <netinet/in.h> is getting confused by one
of the include files in the rdi-remote directory, since that
directory is searched first for include files before
/usr/include.

> Returning to your problem.  I think treating the ``tuned/untuned''
> hton*() as the prime suspects is correct.  Posibbly tripped by some name
> space polution problem.  Tried a 3 line program on them?  Also, the file
> sim/common/sim-endian.c (which I know works :-) might be a useful
> reference.

-- 
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]