[RFA][PATCH v5 0/2] S/390: Add TDB regset support

Andreas Arnez arnez@linux.vnet.ibm.com
Wed Sep 11 15:15:00 GMT 2013


Another attempt on adding the TDB regset for S/390 targets.  This
version avoids introducing dynamic regset support.  Instead, the TDB
regset is unconditionally written into a core dump.  Upon reading,
before supplying the TDB to the regcache, its validity is verified.  If
invalid, the TDB registers are cleared to "unavailable" status.

Common code should no longer be affected by this version of the patch
set.


 NEWS                                |    4 +
 doc/gdb.texinfo                     |   38 ++++++++++-
 features/Makefile                   |    3 
 features/s390-tdb.xml               |   30 +++++++++
 features/s390-te-linux64.c          |  118 ++++++++++++++++++++++++++++++++++++
 features/s390-te-linux64.xml        |   25 +++++++
 features/s390x-te-linux64.c         |  102 +++++++++++++++++++++++++++++++
 features/s390x-te-linux64.xml       |   24 +++++++
 gdbserver/Makefile.in               |    7 ++
 gdbserver/configure.srv             |    5 +
 gdbserver/linux-s390-low.c          |   25 ++++++-
 regformats/s390-te-linux64.dat      |   94 ++++++++++++++++++++++++++++
 regformats/s390x-te-linux64.dat     |   78 +++++++++++++++++++++++
 s390-nat.c                          |   37 +++++++----
 s390-tdep.c                         |   85 +++++++++++++++++++++++++
 s390-tdep.h                         |   40 +++++++++++-
 testsuite/gdb.arch/s390-tdbregs.c   |   64 +++++++++++++++++++
 testsuite/gdb.arch/s390-tdbregs.exp |   75 ++++++++++++++++++++++
 18 files changed, 831 insertions(+), 23 deletions(-)



More information about the Gdb-patches mailing list