From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55339 invoked by alias); 9 Jul 2015 15:41:43 -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 55330 invoked by uid 89); 9 Jul 2015 15:41:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Jul 2015 15:41:42 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-23-CA24ErhkS1uEs5dq_i4uGA-1; Thu, 09 Jul 2015 16:41:37 +0100 Received: from [10.2.207.36] ([10.1.2.79]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 9 Jul 2015 16:41:37 +0100 Message-ID: <559E9631.2020501@arm.com> Date: Thu, 09 Jul 2015 15:41:00 -0000 From: Pierre Langlois User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "qiyaoltc@gmail.com" CC: Pierre Langlois , "gdb-patches@sourceware.org" Subject: Re: [PATCH v3 4/8] [AArch64] Teach prologue unwinder to terminate gracefully References: <559E52A8.80100@arm.com> <1436439346-9537-1-git-send-email-pierre.langlois@arm.com> In-Reply-To: <1436439346-9537-1-git-send-email-pierre.langlois@arm.com> X-MC-Unique: CA24ErhkS1uEs5dq_i4uGA-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00299.txt.bz2 > @@ -979,9 +974,63 @@ aarch64_make_prologue_cache (struct frame_info *this= _frame, void **this_cache) >=20=20 > cache->func =3D get_frame_func (this_frame); >=20=20 > + cache->available_p =3D 1; > +} > + > +/* Allocate and fill in *THIS_CACHE with information about the prologue = of > + *THIS_FRAME. Do not do this is if *THIS_CACHE was already allocated. > + Return a pointer to the current aarch64_prologue_cache in *THIS_CACHE. > + */ Pushed with this comment's formatting fixed. Thanks, Pierre