From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20083 invoked by alias); 14 Jun 2012 21:16:22 -0000 Received: (qmail 20073 invoked by uid 22791); 14 Jun 2012 21:16:21 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Jun 2012 21:16:08 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SfHOh-0006fr-M9 from Maciej_Rozycki@mentor.com ; Thu, 14 Jun 2012 14:16:07 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 14 Jun 2012 14:16:07 -0700 Received: from [172.30.0.124] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Thu, 14 Jun 2012 22:16:05 +0100 Date: Thu, 14 Jun 2012 21:16:00 -0000 From: "Maciej W. Rozycki" To: Jan Kratochvil CC: Subject: Re: [RFA] Fix inline frame crash in handle_inferior_event In-Reply-To: <20120613065545.GB11317@host2.jankratochvil.net> Message-ID: References: <20120613065545.GB11317@host2.jankratochvil.net> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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 X-SW-Source: 2012-06/txt/msg00493.txt.bz2 On Wed, 13 Jun 2012, Jan Kratochvil wrote: > > gdb/ > > * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch > > after hiding inline functions. > > This is PR backtrace/13866. > > > > --- gdb-fsf-trunk-quilt.orig/gdb/infrun.c 2012-06-08 23:45:43.000000000 +0100 > > +++ gdb-fsf-trunk-quilt/gdb/infrun.c 2012-06-12 08:29:31.063547656 +0100 > > @@ -4084,7 +4084,13 @@ handle_inferior_event (struct execution_ > > && pc_at_non_inline_function (aspace, > > ecs->event_thread->prev_pc, > > &ecs->ws))) > > - skip_inline_frames (ecs->ptid); > > + { > > + skip_inline_frames (ecs->ptid); > > Empty line before comment. Applied with these changes, thanks for your review. Maciej