From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29941 invoked by alias); 21 Oct 2014 09:07:25 -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 29932 invoked by uid 89); 21 Oct 2014 09:07:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_WEB,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f177.google.com Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com) (209.85.212.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 21 Oct 2014 09:07:23 +0000 Received: by mail-wi0-f177.google.com with SMTP id fb4so1176985wid.10 for ; Tue, 21 Oct 2014 02:07:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=4Avao28+2nUuUJkn5SddhxE2cPSh9bMlrlaXCi9T2eY=; b=NqSW9jNoJA7VtemNqg4PC6hgrP3TVnu+cj2jXIGioM1Y5GSXnMgR4mhtM+kgkjzj/h i+L4QtPabvTV0ZbUAsNjzLpfYTy4DSY0SesIVkqL9NOy5HW+Z25wsIPX1icdtRykjgzr p/M9lokAHzYILReN2xvHg1Ld+Ev3R2deujJNOR7kTyBCcEXN95/NErDP5YbrRxRfM/1/ OCP1wlDgzvyhplJH6wgt4dY2GJs8nsAVZp/4ClUnLipAG5l+niDF3IkdAvaCCGjvf0c6 RF3ypF2pUB+LJG5HuzY2R5T6koUEuQw43JYd4TV84FdxuhYTfxeXfbLqnhuaiduj+i+f 6DCg== X-Gm-Message-State: ALoCoQlnIAcJJ6lgr+kB5LRWetVVA/bzILiICxl9fAgev83t5vooqtITFu9uNY3zX+BPFqZmdkhK X-Received: by 10.194.94.103 with SMTP id db7mr11543507wjb.117.1413882440130; Tue, 21 Oct 2014 02:07:20 -0700 (PDT) Received: from [192.168.1.2] ([182.178.237.222]) by mx.google.com with ESMTPSA id cz3sm14681049wjb.23.2014.10.21.02.07.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Oct 2014 02:07:19 -0700 (PDT) Message-ID: <54462244.5080100@linaro.org> Date: Tue, 21 Oct 2014 09:07:00 -0000 From: Omair Javaid User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: Re: Re [PATCH 2/7] Fixes for aarch64-linux core file support References: <1410997000-5878-1-git-send-email-omair.javaid@linaro.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00539.txt.bz2 On 14/10/2014 17:49, Omair Javaid wrote: > 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! > ping!