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?


>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:
Grant> Apparently it is __BIG_ENDIAN.  Which is wrong, since it's a
Grant> 386.

You might want to examine the preprocessed output again, but this time
invoke gcc with the -dD flag as well.  The preprocessing results will
be output along with the #define directives that are normally removed.
Scan the output for where __BIG_ENDIAN is defined, and then track it
down from there.

        --jtc

-- 
J.T. Conklin
RedBack Networks

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