This is the mail archive of the gdb-patches@sourceware.org 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]

[PATCH 00/11] Regset rework preparations part 1


This is the first half of the "regset rework preparations" series I've
posted as RFC:
https://sourceware.org/ml/gdb-patches/2014-04/msg00560.html

Changes since original post:

* Split initializers of the form "tdep = gdbarch_tdep
  (get_regcache_arch (...))" in two lines.
  (https://sourceware.org/ml/gdb-patches/2014-05/msg00042.html)

* Keep i386_supply_gregset as a global function.
  (https://sourceware.org/ml/gdb-patches/2014-04/msg00607.html)

* Added ChangeLog to SPARC renaming patch.

* Clipped off the second half of the series.  I will ping that later
  again, when we're done with the first half.


Andreas Arnez (11):
  Constify regset structures.
  Remove 'arch' field from regset structure.
  AARCH64: Replace regset_alloc() invocations by static regset
    structures.
  ARM: Replace regset_alloc() invocations by static regset structures.
  X86: Replace regset_alloc() invocations by static regset structures.
  MIPS: Replace regset_alloc() invocations by static regset structures.
  MN10300: Replace regset_alloc() invocations by static regset
    structures.
  SCORE: Replace regset_alloc() invocation by a static regset structure.
  SPARC: Rename register maps from "*regset" to "*regmap"
  SPARC: Replace regset_alloc() invocations by static regset structures.
  Drop regset_alloc().

 gdb/Makefile.in          |  4 +--
 gdb/aarch64-linux-tdep.c | 29 ++++++++---------
 gdb/aarch64-tdep.h       |  4 ---
 gdb/alpha-linux-tdep.c   |  4 +--
 gdb/alphanbsd-tdep.c     |  6 ++--
 gdb/amd64-tdep.c         | 33 ++++++++++---------
 gdb/amd64obsd-tdep.c     | 14 +++++----
 gdb/arm-linux-tdep.c     | 38 +++++++++++-----------
 gdb/arm-tdep.h           |  3 --
 gdb/armbsd-tdep.c        |  4 +--
 gdb/frv-linux-tdep.c     |  4 +--
 gdb/hppa-hpux-tdep.c     |  2 +-
 gdb/hppa-linux-tdep.c    |  4 +--
 gdb/hppanbsd-tdep.c      |  2 +-
 gdb/hppaobsd-tdep.c      |  4 +--
 gdb/i386-cygwin-tdep.c   |  9 +-----
 gdb/i386-nto-tdep.c      |  8 ++---
 gdb/i386-tdep.c          | 58 +++++++++++++++++-----------------
 gdb/i386-tdep.h          | 14 ++-------
 gdb/i386obsd-tdep.c      | 15 ++++-----
 gdb/m32r-linux-tdep.c    |  2 +-
 gdb/m68kbsd-tdep.c       |  4 +--
 gdb/m88k-tdep.c          |  2 +-
 gdb/mips-linux-tdep.c    | 53 ++++++++++++++-----------------
 gdb/mips-tdep.c          |  4 ---
 gdb/mips-tdep.h          |  8 -----
 gdb/mips64obsd-tdep.c    |  2 +-
 gdb/mipsnbsd-tdep.c      |  4 +--
 gdb/mn10300-linux-tdep.c | 21 +++++++------
 gdb/nios2-linux-tdep.c   |  3 +-
 gdb/ppc-linux-tdep.c     | 15 +++------
 gdb/ppcfbsd-tdep.c       |  8 ++---
 gdb/ppcnbsd-tdep.c       |  4 +--
 gdb/ppcnbsd-tdep.h       |  4 +--
 gdb/ppcobsd-tdep.c       |  4 +--
 gdb/ppcobsd-tdep.h       |  4 +--
 gdb/regset.c             | 44 --------------------------
 gdb/regset.h             | 14 ---------
 gdb/rs6000-aix-tdep.c    |  4 +--
 gdb/score-tdep.c         | 21 +++++--------
 gdb/score-tdep.h         |  7 -----
 gdb/sh-tdep.c            |  4 +--
 gdb/sh-tdep.h            |  2 +-
 gdb/sparc-linux-nat.c    | 10 +++---
 gdb/sparc-linux-tdep.c   | 30 ++++++++++++------
 gdb/sparc-nat.c          | 28 ++++++++---------
 gdb/sparc-nat.h          | 16 +++++-----
 gdb/sparc-sol2-nat.c     | 16 +++++-----
 gdb/sparc-sol2-tdep.c    |  4 +--
 gdb/sparc-tdep.c         | 50 ++++++++++++++---------------
 gdb/sparc-tdep.h         | 28 ++++++++---------
 gdb/sparc64-linux-nat.c  | 14 ++++-----
 gdb/sparc64-linux-tdep.c | 30 ++++++++++++------
 gdb/sparc64-sol2-tdep.c  |  4 +--
 gdb/sparc64-tdep.c       | 82 ++++++++++++++++++++++++------------------------
 gdb/sparc64-tdep.h       | 20 ++++++------
 gdb/sparc64fbsd-nat.c    |  2 +-
 gdb/sparc64fbsd-tdep.c   | 26 +++++++++------
 gdb/sparc64nbsd-nat.c    | 24 +++++++-------
 gdb/sparc64nbsd-tdep.c   | 20 +++++++++---
 gdb/sparc64obsd-nat.c    |  4 +--
 gdb/sparc64obsd-tdep.c   | 27 ++++++++++------
 gdb/sparcnbsd-nat.c      |  4 +--
 gdb/sparcnbsd-tdep.c     | 22 +++++++++----
 gdb/tilegx-linux-tdep.c  |  2 +-
 gdb/vax-tdep.c           |  2 +-
 66 files changed, 452 insertions(+), 510 deletions(-)
 delete mode 100644 gdb/regset.c

-- 
1.8.4.2


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