From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: pedromfc@linux.ibm.com (Pedro Franco de Carvalho)
Cc: gdb-patches@sourceware.org, edjunior@gmail.com
Subject: Re: [PATCH v2 10/12] [PowerPC] Add support for EBB and PMU registers
Date: Fri, 10 Aug 2018 14:44:00 -0000 [thread overview]
Message-ID: <20180810144404.4AA46D802AC@oc3748833570.ibm.com> (raw)
In-Reply-To: <20180810025210.6942-11-pedromfc@linux.ibm.com> from "Pedro Franco de Carvalho" at Aug 09, 2018 11:52:08 PM
Pedro Franco de Carvalho wrote:
> YYYY-MM-DD Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
> Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
>
> * arch/ppc-linux-common.h (PPC_LINUX_SIZEOF_EBBREGSET)
> (PPC_LINUX_SIZEOF_PMUREGSET): Declare.
> * nat/ppc-linux.h (PPC_FEATURE2_EBB, NT_PPC_EBB, NT_PPC_PMU):
> Define if not already defined.
> * features/rs6000/power-ebb.xml: New file.
> * features/rs6000/power-linux-pmu.xml: New file.
> * features/rs6000/powerpc-isa207-vsx32l.xml: Include ebb and pmu
> features.
> * features/rs6000/powerpc-isa207-vsx64l.xml: Likewise.
> * features/rs6000/powerpc-isa207-vsx32l.c: Re-generate.
> * features/rs6000/powerpc-isa207-vsx64l.c: Re-generate.
> * regformats/rs6000/powerpc-isa207-vsx32l.dat: Re-generate.
> * regformats/rs6000/powerpc-isa207-vsx64l.dat: Re-generate.
> * ppc-linux-nat.c (fetch_register, fetch_ppc_registers): Call
> fetch_regset with ebb and pmu regsets.
> (ppc_linux_regset_available_p): New function.
> (store_register, store_ppc_registers): Call store_regset with ebb
> and pmu regsets.
> (ppc_linux_nat_target::read_description): Set isa207 field in the
> features struct if ebb and pmu are avaiable.
> * ppc-linux-tdep.c (ppc32_regmap_ebb, ppc32_regmap_pmu)
> (ppc32_linux_ebbregset, ppc32_linux_pmuregset): New globals.
> (ppc_linux_iterate_over_regset_sections): Call back with the ebb
> and pmu regsets.
> (ppc_linux_core_read_description): Check if the pmu section is
> present and set isa207 in the features struct.
> * ppc-linux-tdep.h (ppc32_linux_ebbregset)
> (ppc32_linux_pmuregset): Declare.
> * ppc-tdep.h (struct gdbarch_tdep) <ppc_mmcr0_regnum>: New field.
> <ppc_mmcr2_regnum, ppc_siar_regnum, ppc_sdar_regnum>: New fields.
> <ppc_sier_regnum>: New field.
> (enum): <PPC_BESCR_REGNUM, PPC_EBBHR_REGNUM, PPC_EBBRR_REGNUM>:
> New enum values.
> <PPC_MMCR0_REGNUM, PPC_MMCR2_REGNUM, PPC_SIAR_REGNUM>: New enum
> values.
> <PPC_SDAR_REGNUM, PPC_SIER_REGNUM>: New enum values.
> (PPC_IS_EBB_REGNUM, PPC_IS_PMU_REGNUM): Define.
> * rs6000-tdep.c (rs6000_gdbarch_init): Look for and validate the
> ebb and pmu features.
>
> gdb/gdbserver/ChangeLog:
> YYYY-MM-DD Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
>
> * configure.srv (powerpc*-*-linux*): Add rs6000/power-ebb.xml and
> rs6000/power-linux-pmu.xml to srv_xmlfiles.
> * linux-ppc-low.c (ppc_store_ebbregset, ppc_fill_pmuregset)
> (ppc_store_pmuregset): New functions.
> (ppc_regsets): Add entries for ebb and pmu regsets.
> (ppc_arch_setup): Set isa207 in features struct if the ebb and
> pmu regsets are available. Set sizes for these regsets.
>
> gdb/doc/ChangeLog:
> YYYY-MM-DD Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
>
> * gdb.texinfo (PowerPC Features): Describe new features
> "org.gnu.gdb.power.ebb" and "org.gnu.gdb.power.linux.pmu".
This is OK.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com
prev parent reply other threads:[~2018-08-10 14:44 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-10 2:52 [PATCH v2 00/12] GDB support for more powerpc registers on linux Pedro Franco de Carvalho
2018-08-10 2:52 ` [PATCH v2 01/12] Zero-initialize linux note sections Pedro Franco de Carvalho
2018-08-10 14:27 ` Ulrich Weigand
2018-08-10 16:13 ` Tom Tromey
2018-08-10 18:11 ` Pedro Franco de Carvalho
2018-08-10 20:50 ` Tom Tromey
2018-08-10 2:52 ` [PATCH v2 05/12] [PowerPC] Fix two if statements in gdb/ppc-linux-nat.c Pedro Franco de Carvalho
2018-08-10 14:33 ` Ulrich Weigand
2018-08-10 2:52 ` [PATCH v2 08/12] [PowerPC] Add support for PPR and DSCR Pedro Franco de Carvalho
2018-08-10 14:39 ` Ulrich Weigand
2018-08-10 19:38 ` Pedro Alves
2018-08-10 20:09 ` Pedro Franco de Carvalho
2018-08-13 16:30 ` Pedro Alves
2018-08-14 20:15 ` Pedro Franco de Carvalho
2018-08-10 2:52 ` [PATCH v2 04/12] [PowerPC] Remove rs6000_pseudo_register_reggroup_p Pedro Franco de Carvalho
2018-08-10 14:33 ` Ulrich Weigand
2018-08-10 2:52 ` [PATCH v2 02/12] [PowerPC] Don't zero-initialize vector register buffers Pedro Franco de Carvalho
2018-08-10 14:30 ` Ulrich Weigand
2018-08-10 2:52 ` [PATCH v2 07/12] [PowerPC] Refactor have_ initializers in rs6000-tdep.c Pedro Franco de Carvalho
2018-08-10 14:34 ` Ulrich Weigand
2018-08-10 2:52 ` [PATCH v2 09/12] [PowerPC] Add support for TAR Pedro Franco de Carvalho
2018-08-10 7:32 ` Eli Zaretskii
2018-08-10 18:12 ` Pedro Franco de Carvalho
2018-08-10 14:41 ` Ulrich Weigand
2018-08-10 2:52 ` [PATCH v2 03/12] Add decfloat registers to float reggroup Pedro Franco de Carvalho
2018-08-10 14:35 ` Ulrich Weigand
2018-08-10 2:52 ` [PATCH v2 12/12] [PowerPC] Add support for HTM registers Pedro Franco de Carvalho
2018-08-10 7:34 ` Eli Zaretskii
2018-08-10 14:54 ` Ulrich Weigand
2018-08-10 15:12 ` [PATCH v2] " Pedro Franco de Carvalho
2018-08-10 2:52 ` [PATCH v2 06/12] [PowerPC] Fix indentation in arch/ppc-linux-common.c Pedro Franco de Carvalho
2018-08-10 14:34 ` Ulrich Weigand
2018-08-10 2:52 ` [PATCH v2 11/12] [PowerPC] Reject tdescs with VSX and no FPU or Altivec Pedro Franco de Carvalho
2018-08-10 14:44 ` Ulrich Weigand
2018-08-10 3:19 ` [PATCH v2 10/12] [PowerPC] Add support for EBB and PMU registers Pedro Franco de Carvalho
2018-08-10 7:35 ` Eli Zaretskii
2018-08-10 14:44 ` Ulrich Weigand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180810144404.4AA46D802AC@oc3748833570.ibm.com \
--to=uweigand@de.ibm.com \
--cc=edjunior@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=pedromfc@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox