This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PING][PATCH 0/3] AArch64 SVE: Support for changing vector length
- From: Alan Hayward <Alan dot Hayward at arm dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Mon, 15 Apr 2019 14:16:01 +0000
- Subject: Re: [PING][PATCH 0/3] AArch64 SVE: Support for changing vector length
- References: <20190322162709.55222-1-alan.hayward@arm.com> <2C81BC55-4A45-41C8-A995-ECC1D0D018E8@arm.com>
...And pushed.
Alan.
> On 8 Apr 2019, at 16:46, Alan Hayward <Alan.Hayward@arm.com> wrote:
>
> 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)
>>
>