From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4448 invoked by alias); 30 Oct 2012 18:31:13 -0000 Received: (qmail 4428 invoked by uid 22791); 30 Oct 2012 18:31:11 -0000 X-SWARE-Spam-Status: No, hits=-8.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Tue, 30 Oct 2012 18:31:01 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9UIV1tx001253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 30 Oct 2012 14:31:01 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9UIUxmj011118; Tue, 30 Oct 2012 14:31:00 -0400 Message-ID: <50901CE2.2070407@redhat.com> Date: Tue, 30 Oct 2012 18:31:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 MIME-Version: 1.0 To: Tom Tromey CC: gdb-patches@sourceware.org, Binutils Development Subject: Re: RFC: handle new NT_SIGINFO note in gdb References: <878vanyj3k.fsf@fleche.redhat.com> In-Reply-To: <878vanyj3k.fsf@fleche.redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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-10/txt/msg00552.txt.bz2 On 10/30/2012 05:18 PM, Tom Tromey wrote: > This patch adds support for the new Linux NT_SIGINFO core note to gdb. > > First, I've CCd the binutils list because this includes a BFD change. > In particular, in order to access the note data, I changed BFD to make a > pseudosection for this new note's data. This seemed ok based on > surrounding code; but if some other method is preferred, just let me > know and I will implement that instead. > > On the gdb side the support is relatively straightforward. > All looks great to me. Thanks Tom. > I chose to implement the support directly in corelow, since adding a new > hook just for this functionality seemed like overkill. > > A new test case is included. It uses "gcore" and then re-reads the > siginfo data from the generated core. > > Built and regtested on x86-64 Fedora 16. > On the binutils side, I remembered this time to run the test suite in > binutils, gas, and ld. -- Pedro Alves