This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

Re: [patch/rfc] Eliminate TARGET_BYTE_ORDER_SELECTABLE


> 
> Woah!  That's neat!  I need to remember that :)
> 
> And I suppose I of all people shouldn't be griping about allowing more
> endianness choices.  I have a patch here to support big-endian
> ARM/Linux.  All I did was change TARGET_BYTE_ORDER_*.


Delete it :-)  As Michael observed, if the code is written correctly it 
works from day one.  (Problem is it has taken ~10 years to figure out 
how to correctly write the code :-)

Oh, if you think that is neat, just wait until someone adds byte-order 
information to ``struct type''.  As it is, gdb knows about the byte 
order of certain floating-point types. :-)

enjoy,
Andrew


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