Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Your change breaks GDB for ARM
@ 2003-11-21  7:55 Phil Edwards
  2003-11-21 16:31 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Edwards @ 2003-11-21  7:55 UTC (permalink / raw)
  To: gdb, cagney

(I am not subscribed to this list.)


This change

  2003-11-13  Andrew Cagney  <cagney@redhat.com>

    * arch-utils.h (selected_architecture_name): Declare.
    (selected_byte_order): Declare.
    * arch-utils.c (selected_byte_order): New function.
    (selected_architecture_name): New function.
    (target_architecture_auto): Make static.
    (set_architecture_string): Make static.
    (target_byte_order): Make static.
    (target_byte_order_auto): Make static.
    * gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete
    non-multi-arch definition.
    (TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete.
    (target_byte_order, target_architecture): Delete declaration.
    (target_byte_order_auto, target_architecture_auto): Ditto.
    * gdbarch.h: Re-generate.
    * remote-sim.c (gdbsim_open): Use "selected_architecture_name" and
    "selected_byte_order".

didn't get enough testing.  As a trivial search shows,

    fenric 57% cd gdb
    fenric 58% grep -l target_byte_order *.c
    arch-utils.c
    remote-rdp.c
    fenric 59%

this variable is still being used outside of the file where you made
it static, and now GDB will not build for arm-elf targets, which use
remote-rdp.c.

I looked very briefly at the new code, but as remote-rdp.c is setting
target_byte_order, not reading it, there is no obvious change I could make.
Please fix this breakage soon.


Phil


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-23 10:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-21  7:55 Your change breaks GDB for ARM Phil Edwards
2003-11-21 16:31 ` Andrew Cagney
2003-11-21 16:49   ` Richard Earnshaw
2003-11-21 18:04     ` Andrew Cagney
2003-11-23 10:48       ` Phil Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox