public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v4 00/12] GDB support for more powerpc registers on linux
@ 2018-08-15  0:07 Pedro Franco de Carvalho
  2018-08-15  0:07 ` [PATCH v4 10/12] [PowerPC] Add support for EBB and PMU registers Pedro Franco de Carvalho
                   ` (12 more replies)
  0 siblings, 13 replies; 30+ messages in thread
From: Pedro Franco de Carvalho @ 2018-08-15  0:07 UTC (permalink / raw)
  To: gdb-patches; +Cc: uweigand, edjunior

Please ignore V3.

I forgot to rebase my patches on master since Friday, and a commit
since then has also changed the linux-tdep.c code for generating a
core-file, which caused rebase conflicts. Sorry for the spam!

This is V4 of: https://sourceware.org/ml/gdb-patches/2018-08/msg00243.html

These are all the changes compared to V2, following the suggestions
there, and following the changes to linux-tdep.c:

* Adapted "Zero-initialize linux note sections" due to recent changes
  from commit a616bb9450.

* Added a comment to "Zero-initialize linux note sections"

* Adapted all the four main patches that enable the registers
  (PPR/DSCR, TAR, EBB/PMU and HTM) to account for the changes from
  commit a616bb9450.

* De-duplicated testcase names.  Changed a few of the test names so
  that they are environment-independent.  Fixed a few other minor
  issues with the testcases.

* Changed one of the testcases for the HTM registers so that it
  XFAILs.  This testcase occasionally failed, possibly due to a kernel
  bug.

* Fixed some of the formatting and const-correctness in "[PowerPC] Add
  support for HTM registers", in gdbserver/linux-ppc-low.c.

* Added an item in the NEWS file on the last commit, indicating all
  the newly supported registers from this series.

Edjunior Barbosa Machado (4):
  [PowerPC] Add support for PPR and DSCR
  [PowerPC] Add support for TAR
  [PowerPC] Add support for EBB and PMU registers
  [PowerPC] Add support for HTM registers

Pedro Franco de Carvalho (8):
  Zero-initialize linux note sections
  [PowerPC] Don't zero-initialize vector register buffers
  Add decfloat registers to float reggroup
  [PowerPC] Remove rs6000_pseudo_register_reggroup_p
  [PowerPC] Fix two if statements in gdb/ppc-linux-nat.c
  [PowerPC] Fix indentation in arch/ppc-linux-common.c
  [PowerPC] Refactor have_ initializers in rs6000-tdep.c
  [PowerPC] Reject tdescs with VSX and no FPU or Altivec

 gdb/NEWS                                           |   4 +
 gdb/arch/ppc-linux-common.c                        |  30 +-
 gdb/arch/ppc-linux-common.h                        |  20 +
 gdb/arch/ppc-linux-tdesc.h                         |   6 +
 gdb/doc/gdb.texinfo                                |  60 ++
 gdb/features/Makefile                              |  11 +
 gdb/features/rs6000/power-dscr.xml                 |  12 +
 gdb/features/rs6000/power-ebb.xml                  |  14 +
 gdb/features/rs6000/power-htm-altivec.xml          |  58 ++
 gdb/features/rs6000/power-htm-core.xml             |  48 ++
 gdb/features/rs6000/power-htm-dscr.xml             |  12 +
 gdb/features/rs6000/power-htm-fpu.xml              |  45 ++
 gdb/features/rs6000/power-htm-ppr.xml              |  12 +
 gdb/features/rs6000/power-htm-spr.xml              |  14 +
 gdb/features/rs6000/power-htm-tar.xml              |  12 +
 gdb/features/rs6000/power-htm-vsx.xml              |  43 ++
 gdb/features/rs6000/power-linux-pmu.xml            |  17 +
 gdb/features/rs6000/power-ppr.xml                  |  12 +
 gdb/features/rs6000/power-tar.xml                  |  12 +
 gdb/features/rs6000/power64-htm-core.xml           |  48 ++
 .../rs6000/powerpc-isa205-ppr-dscr-vsx32l.c        | 200 +++++
 .../rs6000/powerpc-isa205-ppr-dscr-vsx32l.xml      |  18 +
 .../rs6000/powerpc-isa205-ppr-dscr-vsx64l.c        | 200 +++++
 .../rs6000/powerpc-isa205-ppr-dscr-vsx64l.xml      |  18 +
 gdb/features/rs6000/powerpc-isa207-htm-vsx32l.c    | 396 ++++++++++
 gdb/features/rs6000/powerpc-isa207-htm-vsx32l.xml  |  29 +
 gdb/features/rs6000/powerpc-isa207-htm-vsx64l.c    | 396 ++++++++++
 gdb/features/rs6000/powerpc-isa207-htm-vsx64l.xml  |  29 +
 gdb/features/rs6000/powerpc-isa207-vsx32l.c        | 215 ++++++
 gdb/features/rs6000/powerpc-isa207-vsx32l.xml      |  21 +
 gdb/features/rs6000/powerpc-isa207-vsx64l.c        | 215 ++++++
 gdb/features/rs6000/powerpc-isa207-vsx64l.xml      |  21 +
 gdb/gdbserver/configure.srv                        |  28 +-
 gdb/gdbserver/linux-ppc-ipa.c                      |  18 +
 gdb/gdbserver/linux-ppc-low.c                      | 360 ++++++++-
 gdb/gdbserver/linux-ppc-tdesc-init.h               |  21 +
 gdb/linux-tdep.c                                   |  14 +-
 gdb/nat/ppc-linux.h                                |  80 ++
 gdb/ppc-linux-nat.c                                | 560 +++++++++++++-
 gdb/ppc-linux-tdep.c                               | 458 +++++++++++-
 gdb/ppc-linux-tdep.h                               |  21 +
 gdb/ppc-tdep.h                                     |  93 +++
 .../rs6000/powerpc-isa205-ppr-dscr-vsx32l.dat      | 146 ++++
 .../rs6000/powerpc-isa205-ppr-dscr-vsx64l.dat      | 146 ++++
 .../rs6000/powerpc-isa207-htm-vsx32l.dat           | 296 ++++++++
 .../rs6000/powerpc-isa207-htm-vsx64l.dat           | 296 ++++++++
 gdb/regformats/rs6000/powerpc-isa207-vsx32l.dat    | 155 ++++
 gdb/regformats/rs6000/powerpc-isa207-vsx64l.dat    | 155 ++++
 gdb/reggroups.c                                    |   4 +-
 gdb/rs6000-tdep.c                                  | 804 ++++++++++++++++++---
 gdb/testsuite/gdb.arch/powerpc-htm-regs.c          |  39 +
 gdb/testsuite/gdb.arch/powerpc-htm-regs.exp        | 320 ++++++++
 gdb/testsuite/gdb.arch/powerpc-ppr-dscr.c          |  34 +
 gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp        | 117 +++
 gdb/testsuite/gdb.arch/powerpc-tar.c               |  33 +
 gdb/testsuite/gdb.arch/powerpc-tar.exp             | 117 +++
 56 files changed, 6407 insertions(+), 156 deletions(-)
 create mode 100644 gdb/features/rs6000/power-dscr.xml
 create mode 100644 gdb/features/rs6000/power-ebb.xml
 create mode 100644 gdb/features/rs6000/power-htm-altivec.xml
 create mode 100644 gdb/features/rs6000/power-htm-core.xml
 create mode 100644 gdb/features/rs6000/power-htm-dscr.xml
 create mode 100644 gdb/features/rs6000/power-htm-fpu.xml
 create mode 100644 gdb/features/rs6000/power-htm-ppr.xml
 create mode 100644 gdb/features/rs6000/power-htm-spr.xml
 create mode 100644 gdb/features/rs6000/power-htm-tar.xml
 create mode 100644 gdb/features/rs6000/power-htm-vsx.xml
 create mode 100644 gdb/features/rs6000/power-linux-pmu.xml
 create mode 100644 gdb/features/rs6000/power-ppr.xml
 create mode 100644 gdb/features/rs6000/power-tar.xml
 create mode 100644 gdb/features/rs6000/power64-htm-core.xml
 create mode 100644 gdb/features/rs6000/powerpc-isa205-ppr-dscr-vsx32l.c
 create mode 100644 gdb/features/rs6000/powerpc-isa205-ppr-dscr-vsx32l.xml
 create mode 100644 gdb/features/rs6000/powerpc-isa205-ppr-dscr-vsx64l.c
 create mode 100644 gdb/features/rs6000/powerpc-isa205-ppr-dscr-vsx64l.xml
 create mode 100644 gdb/features/rs6000/powerpc-isa207-htm-vsx32l.c
 create mode 100644 gdb/features/rs6000/powerpc-isa207-htm-vsx32l.xml
 create mode 100644 gdb/features/rs6000/powerpc-isa207-htm-vsx64l.c
 create mode 100644 gdb/features/rs6000/powerpc-isa207-htm-vsx64l.xml
 create mode 100644 gdb/features/rs6000/powerpc-isa207-vsx32l.c
 create mode 100644 gdb/features/rs6000/powerpc-isa207-vsx32l.xml
 create mode 100644 gdb/features/rs6000/powerpc-isa207-vsx64l.c
 create mode 100644 gdb/features/rs6000/powerpc-isa207-vsx64l.xml
 create mode 100644 gdb/regformats/rs6000/powerpc-isa205-ppr-dscr-vsx32l.dat
 create mode 100644 gdb/regformats/rs6000/powerpc-isa205-ppr-dscr-vsx64l.dat
 create mode 100644 gdb/regformats/rs6000/powerpc-isa207-htm-vsx32l.dat
 create mode 100644 gdb/regformats/rs6000/powerpc-isa207-htm-vsx64l.dat
 create mode 100644 gdb/regformats/rs6000/powerpc-isa207-vsx32l.dat
 create mode 100644 gdb/regformats/rs6000/powerpc-isa207-vsx64l.dat
 create mode 100644 gdb/testsuite/gdb.arch/powerpc-htm-regs.c
 create mode 100644 gdb/testsuite/gdb.arch/powerpc-htm-regs.exp
 create mode 100644 gdb/testsuite/gdb.arch/powerpc-ppr-dscr.c
 create mode 100644 gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp
 create mode 100644 gdb/testsuite/gdb.arch/powerpc-tar.c
 create mode 100644 gdb/testsuite/gdb.arch/powerpc-tar.exp

-- 
2.13.6

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

end of thread, other threads:[~2018-10-08 19:32 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15  0:07 [PATCH v4 00/12] GDB support for more powerpc registers on linux Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 10/12] [PowerPC] Add support for EBB and PMU registers Pedro Franco de Carvalho
2018-08-16 16:51   ` Pedro Alves
2018-08-16 18:16     ` Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 04/12] [PowerPC] Remove rs6000_pseudo_register_reggroup_p Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 03/12] Add decfloat registers to float reggroup Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 09/12] [PowerPC] Add support for TAR Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 07/12] [PowerPC] Refactor have_ initializers in rs6000-tdep.c Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 06/12] [PowerPC] Fix indentation in arch/ppc-linux-common.c Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 05/12] [PowerPC] Fix two if statements in gdb/ppc-linux-nat.c Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 02/12] [PowerPC] Don't zero-initialize vector register buffers Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 11/12] [PowerPC] Reject tdescs with VSX and no FPU or Altivec Pedro Franco de Carvalho
2018-08-15  0:07 ` [PATCH v4 01/12] Zero-initialize linux note sections Pedro Franco de Carvalho
2018-08-15  0:55 ` [PATCH v4 12/12] [PowerPC] Add support for HTM registers Pedro Franco de Carvalho
2018-08-16 16:53   ` Pedro Alves
2018-08-16 17:50     ` Pedro Franco de Carvalho
2018-08-16 20:16       ` Pedro Franco de Carvalho
2018-08-16 23:47         ` Pedro Franco de Carvalho
2018-08-17 18:11           ` Pedro Alves
2018-08-17 19:25             ` Pedro Franco de Carvalho
2018-08-15  1:16 ` [PATCH v4 08/12] [PowerPC] Add support for PPR and DSCR Pedro Franco de Carvalho
2018-08-16 16:46 ` [PATCH v4 00/12] GDB support for more powerpc registers on linux Pedro Franco de Carvalho
2018-08-16 17:00   ` Pedro Alves
2018-08-16 17:42     ` Pedro Franco de Carvalho
2018-08-16 18:02       ` Eli Zaretskii
2018-08-16 18:08         ` Pedro Franco de Carvalho
2018-08-16 18:45           ` Eli Zaretskii
2018-08-16 19:23             ` Pedro Franco de Carvalho
2018-10-08 19:09     ` ping: " Jan Kratochvil
2018-10-08 19:32       ` Pedro Franco de Carvalho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).