This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 16/17] [PowerPC] Add support for EBB and PMU registers
- From: Pedro Franco de Carvalho <pedromfc at linux dot ibm dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, edjunior at gmail dot com
- Date: Fri, 13 Jul 2018 15:22:59 -0300
- Subject: Re: [PATCH 16/17] [PowerPC] Add support for EBB and PMU registers
- References: <20180713163828.5F9F3D80276@oc3748833570.ibm.com>
Ulrich Weigand <uweigand@de.ibm.com> writes:
> Pedro Franco de Carvalho wrote:
> Similar comment to above, can we not avoid this renumbering churn?
Yes, I will change this.
> Also, I see you haven't got any test cases for this? Would these
> be difficult to add?
It's a bit harder, because it's not so straightforward to open the
performance events to put the inferior in a state where the ebb/pmu
registers are meaningful. I have a kludgy test I used, I'll try to make
it better for submission.
Thanks!
--
Pedro Franco de Carvalho