From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44003 invoked by alias); 6 Aug 2018 10:10:36 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 43961 invoked by uid 89); 6 Aug 2018 10:10:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hayward, sk:alan.ha, alanhaywardarmcom, alan.hayward@arm.com X-HELO: EUR03-AM5-obe.outbound.protection.outlook.com Received: from mail-eopbgr30084.outbound.protection.outlook.com (HELO EUR03-AM5-obe.outbound.protection.outlook.com) (40.107.3.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Aug 2018 10:10:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8HkABauU9USXxueafGp/9sziEObDzmKYpCB4SjaC9Rs=; b=QrhJAqpMW2x/aeKTOFCxBHsRyi0CfJp+FJr1vQz4Nh5+/o64Ellu6qOwnqQzPt9/KuMHrX9VhtqI7OyywLyYdAfA7MZWPwKv0GFEfM+wZH7qkjoCjNsV4eIPx0t0n8shcosnj2foNDIrvVZGZuPy0gcFjFREEIZkvVVVeCAtwq4= Received: from DB6PR0802MB2133.eurprd08.prod.outlook.com (10.172.226.148) by DB6PR0802MB2469.eurprd08.prod.outlook.com (10.172.251.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Mon, 6 Aug 2018 10:10:26 +0000 Received: from DB6PR0802MB2133.eurprd08.prod.outlook.com ([fe80::6c67:c822:7f7d:d62d]) by DB6PR0802MB2133.eurprd08.prod.outlook.com ([fe80::6c67:c822:7f7d:d62d%6]) with mapi id 15.20.1017.019; Mon, 6 Aug 2018 10:10:01 +0000 From: Alan Hayward To: "gdb-patches@sourceware.org" CC: nd Subject: [PING][PATCH v2 0/3] Core file support for Aarch64 SVE Date: Mon, 06 Aug 2018 10:10:00 -0000 Message-ID: <4D090DA4-79B9-4212-B7A7-19D95D0E8DA2@arm.com> References: <20180730092528.98739-1-alan.hayward@arm.com> In-Reply-To: <20180730092528.98739-1-alan.hayward@arm.com> authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alan.Hayward@arm.com; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00080.txt.bz2 Ping. > On 30 Jul 2018, at 10:25, Alan Hayward wrote: >=20 > Support both the reading and writing of core files on aarch64 SVE. >=20 > SVE core files are doumented here: > https://github.com/torvalds/linux/blob/master/Documentation/arm64/sve.txt > * A NT_ARM_SVE note will be added to each coredump for each thread of the > dumped process. The contents will be equivalent to the data that would = have > been read if a PTRACE_GETREGSET of NT_ARM_SVE were executed for each thr= ead > when the coredump was generated. >=20 > The first patch adds support allowing writing of core files for targets w= ith > variable length core files. Currently all targets with variable length co= re > files do not allow the creation of core files. >=20 > The second patch detects SVE state in a core file. > The final patch adds the supply/collect functions for core file parsing. >=20 > Checked with make check on x86 (all targets) and aarch64. > Generated core files on SVE emulator both from gdb "generate-core-file" > command and a segfault. Loaded these back into gdb. >=20 >=20 > Alan Hayward (3): > Add min size to regset section iterations > Detect SVE when reading aarch64 core files > Parse SVE registers in aarch64 core file reading/writing >=20 > gdb/aarch64-fbsd-tdep.c | 8 +- > gdb/aarch64-linux-tdep.c | 190 ++++++++++++++++++++++++++++++++++++++++++= +++-- > gdb/alpha-linux-tdep.c | 4 +- > gdb/alpha-nbsd-tdep.c | 6 +- > gdb/amd64-fbsd-tdep.c | 8 +- > gdb/amd64-linux-tdep.c | 6 +- > gdb/arm-bsd-tdep.c | 6 +- > gdb/arm-fbsd-tdep.c | 7 +- > gdb/arm-linux-tdep.c | 11 +-- > gdb/corelow.c | 27 ++++--- > gdb/fbsd-tdep.c | 2 +- > gdb/frv-linux-tdep.c | 8 +- > gdb/gdbarch.h | 2 +- > gdb/gdbarch.sh | 2 +- > gdb/hppa-linux-tdep.c | 6 +- > gdb/hppa-nbsd-tdep.c | 3 +- > gdb/hppa-obsd-tdep.c | 6 +- > gdb/i386-fbsd-tdep.c | 11 ++- > gdb/i386-linux-tdep.c | 9 ++- > gdb/i386-tdep.c | 6 +- > gdb/ia64-linux-tdep.c | 6 +- > gdb/linux-tdep.c | 2 +- > gdb/m32r-linux-tdep.c | 3 +- > gdb/m68k-bsd-tdep.c | 6 +- > gdb/m68k-linux-tdep.c | 6 +- > gdb/mips-fbsd-tdep.c | 8 +- > gdb/mips-linux-tdep.c | 14 ++-- > gdb/mips-nbsd-tdep.c | 8 +- > gdb/mips64-obsd-tdep.c | 3 +- > gdb/mn10300-linux-tdep.c | 8 +- > gdb/nios2-linux-tdep.c | 3 +- > gdb/ppc-fbsd-tdep.c | 6 +- > gdb/ppc-linux-tdep.c | 12 +-- > gdb/ppc-nbsd-tdep.c | 4 +- > gdb/ppc-obsd-tdep.c | 2 +- > gdb/regcache.h | 8 ++ > gdb/rs6000-aix-tdep.c | 4 +- > gdb/s390-linux-tdep.c | 23 +++--- > gdb/score-tdep.c | 4 +- > gdb/sh-tdep.c | 6 +- > gdb/sparc-tdep.c | 6 +- > gdb/tilegx-linux-tdep.c | 4 +- > gdb/vax-tdep.c | 2 +- > gdb/xtensa-tdep.c | 4 +- > 44 files changed, 350 insertions(+), 130 deletions(-) >=20 > --=20 > 2.15.2 (Apple Git-101.1) >=20