This is the mail archive of the 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]

[00/19] Eliminate some more current_gdbarch uses


this series of patches makes some more progress towards the goal of
eliminating the current_gdbarch global.  This series tackles remaining
instances that are relatively simple to eliminate using existing
mechanism and relatively "local" changes.

While some patches in the series do change existing interfaces to
allow passing architecture information to some lower level, these
are typically less-frequently used ones that require only limited
changes to the rest of GDB.

After this patch series, the remaining instances of current_gdbarch
are difficult to eliminate, typically within frequently-called
central infrastructure routines.  A follow-on patch series will
address those remaining occurrences.

This patch series was tested with no regressions on amd64-linux,
powerpc64-linux, spu-elf, s390-ibm-linux, and s390x-ibm-linux.
Also, I made sure an --enable-targets=all build still succeeds.

Comments welcome!  I plan on committing the series within a week
or two (after I'm back from the GCC Summit).


  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE

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