From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16591 invoked by alias); 24 Sep 2010 18:36:08 -0000 Received: (qmail 16535 invoked by uid 22791); 24 Sep 2010 18:36:06 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_EG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Sep 2010 18:36:00 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8OIZpDb006157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 24 Sep 2010 14:35:51 -0400 Received: from host1.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o8OIZmdA022533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 Sep 2010 14:35:50 -0400 Received: from host1.dyn.jankratochvil.net (localhost [127.0.0.1]) by host1.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o8OIZman020607; Fri, 24 Sep 2010 20:35:48 +0200 Received: (from jkratoch@localhost) by host1.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o8OIZlsC020602; Fri, 24 Sep 2010 20:35:47 +0200 Date: Mon, 27 Sep 2010 07:47:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [patch 2/4]#3 Fix lost siginfo_t for inferior calls Message-ID: <20100924183547.GA17058@host1.dyn.jankratochvil.net> References: <20100921224935.GC20130@host1.dyn.jankratochvil.net> <201009241740.10169.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201009241740.10169.pedro@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes 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: 2010-09/txt/msg00443.txt.bz2 On Fri, 24 Sep 2010 18:40:09 +0200, Pedro Alves wrote: > On Tuesday 21 September 2010 23:49:35, Jan Kratochvil wrote: > > > gdb/ > > 2010-09-20 Jan Kratochvil > > > > Fix lost siginfo_t for inferior calls > > * infrun.c > > (struct inferior_thread_state) : New. > > (save_inferior_thread_state): New variables regcache, gdbarch and > > siginfo_data. Initialize SIGINFO_DATA if gdbarch_get_siginfo_type_p. > > Move INF_STATE allocation later, pre-clear it. Initialize REGISTERS > > using REGCACHE. > > (restore_inferior_thread_state): New variables regcache and gdbarch. > > Restore SIGINFO_DATA for matching GDBARCH. Restore REGISTERS using > > REGCACHE. Free also SIGINFO_DATA. > > Okay, thanks. Checked-in: http://sourceware.org/ml/gdb-cvs/2010-09/msg00156.html Thanks, Jan