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]

[PATCH 0/2, V2] Detect 64-bit-ness in PowerPC Book III-E

This patch is the V2 of
In V2, we check the different bit of register MSR on Book III-E and
Book III-S.  In order to differentiate Book III-E and Book III-S, we
check the PPC_FEATURE_BOOKE from host's HWCAP, as Ulrich suggested.
Patch 1 is to move common macros into nat/ppc-linux.h, and patch 2
is the major part of this series.

Regression tested on powerpc-linux with GDBserver.  Native powerpc
gdb isn't tested.  Is it OK?

*** BLURB HERE ***

Yao Qi (2):
  Move some ppc macros to nat/ppc-linux.h
  Detect 64-bit-ness in PowerPC Book III-E

 gdb/                   |  6 ++-
 gdb/config/powerpc/ |  2 +-
 gdb/gdbserver/         |  5 ++-
 gdb/gdbserver/configure.srv       |  2 +-
 gdb/gdbserver/linux-ppc-low.c     | 34 +--------------
 gdb/nat/ppc-linux.c               | 69 ++++++++++++++++++++++++++++++
 gdb/nat/ppc-linux.h               | 88 +++++++++++++++++++++++++++++++++++++++
 gdb/ppc-linux-nat.c               | 54 +-----------------------
 8 files changed, 172 insertions(+), 88 deletions(-)
 create mode 100644 gdb/nat/ppc-linux.c
 create mode 100644 gdb/nat/ppc-linux.h


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