This is the mail archive of the gdb@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: Your change breaks GDB for ARM


A not so trivial find/grep shows:

cagney@nettle$ frep target_byte_order
arch-utils.c:376:/* ``target_byte_order'' is only used when non- multi-arch.
arch-utils.c:383:static int target_byte_order = BFD_ENDIAN_BIG;
arch-utils.c:384:static int target_byte_order_auto = 1;
arch-utils.c:389:  if (target_byte_order_auto)
arch-utils.c:392:    return target_byte_order;
arch-utils.c:412:  if (target_byte_order_auto)
arch-utils.c:425:      target_byte_order_auto = 1;
arch-utils.c:430:      target_byte_order_auto = 0;
arch-utils.c:439:      target_byte_order_auto = 0;
arch-utils.c:730:      && !target_byte_order_auto

which are all perfectly fine. As for:

remote-rdp.c:355:                   target_byte_order = BFD_ENDIAN_LITTLE;
remote-rdp.c:359:                   target_byte_order = BFD_ENDIAN_BIG;

oops, missed them. I guess I could #ifdef them out (richard?). Those assignments haven't done anything useful since 2002-02-08 when the arm became multi-arch partial.

Andrew


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