This is the mail archive of the gdb-patches@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: Better way to get the arch/endianess?


> Date: Wed, 07 Jun 2000 22:40:57 +1000
> From: Andrew Cagney <ac131313@cygnus.com>
>
> I'm
> wondering if there isn't a better way - something that just returned the
> default configured architecture and byte order.
> 
> Suggestions?

I understand that your problem is limited to non-native architectures,
yes?  Because in a native configuration you could simply compute the
endiannes at runtime.  Am I missing something?

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