From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 619 invoked by alias); 14 Oct 2014 12:49:57 -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 608 invoked by uid 89); 14 Oct 2014 12:49:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f46.google.com Received: from mail-oi0-f46.google.com (HELO mail-oi0-f46.google.com) (209.85.218.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 14 Oct 2014 12:49:55 +0000 Received: by mail-oi0-f46.google.com with SMTP id h136so16313770oig.33 for ; Tue, 14 Oct 2014 05:49:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=9sgE+zxOHjW3F5745Q4jxknP4AGVpGAJbJ9P6b5EodU=; b=Xf0YbwSiducEL2/8zrxM9aEMgXtWtF5i3a/4gzfFaQGttCOpKsxqJnpBRUojfCafSZ ghkHsmkJ50K/T35/6uCZxSsIvPg+wFIA4xMNUXfRjj8IolqJgmRrHNZS5KHAAdbqCwud DwUVSH6t0a1Uyd1PxVJtX5tXkdOBtxLRsG/yQngwGAsalk7WnsDBoHDzWDudJgy+OXsJ O6G9LNZhTDF3dtjFsZsT7WQCG1eVSSZg51uwzbEMtC8RdNOFLaInsniAX8IQlQvsnwrQ 6pltoWZO8Qmf52rq+4kZTQD8MmTNv8yo3xLd2O8IBPPOtnxkN32OlTWOVpNW1kWXICbE PLqA== X-Gm-Message-State: ALoCoQkc+3VmnzSoVZ04tlK9tzsr+es34yZ3uZlwGbfd6oHbm9yLZdjMRGcv4NzFY5e6HOwIabcu X-Received: by 10.202.174.76 with SMTP id x73mr4359404oie.12.1413290993963; Tue, 14 Oct 2014 05:49:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.142.194 with HTTP; Tue, 14 Oct 2014 05:49:23 -0700 (PDT) In-Reply-To: <1410997000-5878-1-git-send-email-omair.javaid@linaro.org> References: <1410997000-5878-1-git-send-email-omair.javaid@linaro.org> From: Omair Javaid Date: Tue, 14 Oct 2014 12:49:00 -0000 Message-ID: Subject: Re: Re [PATCH 2/7] Fixes for aarch64-linux core file support To: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00346.txt.bz2 On 18 September 2014 04:36, Omair Javaid wrote: > Updated after regset rework pushed upstream. > > gdb: > > 2014-09-18 Omair Javaid > > * aarch64-linux-tdep.c (aarch64_linux_init_abi): Install AArch64 > register note sections. > (struct core_regset_section aarch64_linux_regset_sections[]): Declare > AArch64 register note sections. > --- > gdb/aarch64-linux-tdep.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c > index 6377977..e5565a8 100644 > --- a/gdb/aarch64-linux-tdep.c > +++ b/gdb/aarch64-linux-tdep.c > @@ -231,6 +231,15 @@ aarch64_linux_regset_from_core_section (struct gdbarch *gdbarch, > return NULL; > } > > +/* Core file register set sections. */ > + > +static struct core_regset_section aarch64_linux_regset_sections[] = > +{ > + { ".reg", AARCH64_LINUX_SIZEOF_GREGSET, "general-purpose" }, > + { ".reg2", AARCH64_LINUX_SIZEOF_FPREGSET, "floating-point" }, > + { NULL, 0} > +}; > + > /* Implementation of `gdbarch_stap_is_single_operand', as defined in > gdbarch.h. */ > > @@ -376,6 +385,9 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) > /* Enable longjmp. */ > tdep->jb_pc = 11; > > + /* Install supported register note sections. */ > + set_gdbarch_core_regset_sections (gdbarch, aarch64_linux_regset_sections); > + > set_gdbarch_regset_from_core_section (gdbarch, > aarch64_linux_regset_from_core_section); > > -- > 1.9.1 > ping!