From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68448 invoked by alias); 30 Aug 2016 00:26:14 -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 68008 invoked by uid 89); 30 Aug 2016 00:26:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1418, UD:dat, sk:linux-a, sk:linuxa X-Spam-User: qpsmtpd, 2 recipients X-HELO: camailhost.cavium.com Received: from camailhost.cavium.com (HELO camailhost.cavium.com) (12.108.191.230) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Aug 2016 00:25:59 +0000 Received: from apinski-ss1.caveonetworks.com ([10.18.106.6]) by camailhost.cavium.com (8.14.7/8.14.7) with ESMTP id u7U0PtAt029800; Mon, 29 Aug 2016 17:25:55 -0700 Received: from apinski-ss1.caveonetworks.com (localhost [127.0.0.1]) by apinski-ss1.caveonetworks.com (8.15.2/8.15.2/Debian-3) with ESMTP id u7U0PtaW030791; Mon, 29 Aug 2016 17:25:55 -0700 Received: (from apinski@localhost) by apinski-ss1.caveonetworks.com (8.15.2/8.15.2/Submit) id u7U0Ps0n030790; Mon, 29 Aug 2016 17:25:54 -0700 From: Andrew Pinski To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: Andrew Pinski Subject: [PATCH 0/3] Support AARCH64 ILP32 for gdb Date: Tue, 30 Aug 2016 00:26:00 -0000 Message-Id: <1472516750-30743-1-git-send-email-apinski@cavium.com> X-SW-Source: 2016-08/txt/msg00296.txt.bz2 This patch set implements the basic support needed to debug AARCH64 ILP32 programs under Linux. This does not implement the full needed support like for syscalls or core dump (both are still in flux). But what is provided here is not influx at all and is indepedent of any changes could happen to the Linux kernel or glibc. Thanks, Andrew Pinski Andrew Pinski (3): Move AARCH64 ILP32 rejection handling Add ILP32 support to gdb. Handle ILP32 AARCH64 correctly for gdbserver bfd/ChangeLog | 8 ++ bfd/cpu-aarch64.c | 28 +----- bfd/elfnn-aarch64.c | 17 +++- gdb/ChangeLog | 23 +++++ gdb/aarch64-linux-tdep.c | 8 +- gdb/aarch64-tdep.c | 23 ++++- gdb/aarch64-tdep.h | 3 + gdb/features/Makefile | 4 +- gdb/features/aarch64_ilp32-core.xml | 67 +++++++++++++ gdb/features/aarch64_ilp32.c | 191 ++++++++++++++++++++++++++++++++++++ gdb/features/aarch64_ilp32.xml | 14 +++ gdb/gdbserver/ChangeLog | 19 ++++ gdb/gdbserver/Makefile.in | 6 ++ gdb/gdbserver/configure.srv | 7 +- gdb/gdbserver/linux-aarch64-ipa.c | 11 ++- gdb/gdbserver/linux-aarch64-low.c | 10 +- gdb/regformats/aarch64_ilp32.dat | 73 ++++++++++++++ 17 files changed, 474 insertions(+), 38 deletions(-) create mode 100644 gdb/features/aarch64_ilp32-core.xml create mode 100644 gdb/features/aarch64_ilp32.c create mode 100644 gdb/features/aarch64_ilp32.xml create mode 100644 gdb/regformats/aarch64_ilp32.dat -- 2.7.4