[PING][PATCH 0/3] AArch64 SVE: Support for changing vector length
Alan Hayward
Alan.Hayward@arm.com
Mon Apr 8 15:46:00 GMT 2019
Ping.
AArch64 only changes, so if there are no comments by the end of the week,
I’ll push on Monday.
Self review: Spelling mistake “differemt” in the ChangeLog for patch 2. :)
Alan.
> On 22 Mar 2019, at 16:27, Alan Hayward <Alan.Hayward@arm.com> wrote:
>
> On an AArch64 SVE system it is possible to change the vector length of the
> current thread (not process!) using prctl. Currently GDB will ignore any
> such changes on a process being debugged.
>
> This patch series supports these changes by using an override of
> thread_architecture (). An example is given in patch 2.
>
> Note that this does not yet work when debugging a process attached via
> gdbserver. Here GDB will continue to ignore the change. Getting this
> working is a more larger change which I'm still looking into.
>
> Tested on a system emulator running Linux.
>
> Once real world hardware SVE running Linux is available I'd like to add
> some tests for this. until there is not much point as running the
> testsuite on a fully emulated system is fairly painful.
>
>
> Alan Hayward (3):
> AArch64: Tidy up aarch64_gdbarch_init
> AArch64 SVE: Check for vector length change when getting gdbarch
> AArch64 SVE: Support changing vector lengths for ptrace
>
> gdb/aarch64-linux-nat.c | 36 ++++++++++++
> gdb/aarch64-tdep.c | 92 +++++++++++++++---------------
> gdb/nat/aarch64-sve-linux-ptrace.c | 92 ++++++++++++++++--------------
> gdb/nat/aarch64-sve-linux-ptrace.h | 12 +++-
> 4 files changed, 140 insertions(+), 92 deletions(-)
>
> --
> 2.17.2 (Apple Git-113)
>
More information about the Gdb-patches
mailing list