From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 487 invoked by alias); 21 Mar 2012 12:21:09 -0000 Received: (qmail 469 invoked by uid 22791); 21 Mar 2012 12:21:07 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,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; Wed, 21 Mar 2012 12:20:52 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2LCKmwq032377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 21 Mar 2012 08:20:48 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q2LCKiEs031569; Wed, 21 Mar 2012 08:20:45 -0400 Message-ID: <4F69C79C.7090606@redhat.com> Date: Wed, 21 Mar 2012 12:21:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: Thomas Schwinge CC: gdb-patches@sourceware.org, libc-alpha@sourceware.org, drepper@gmail.com, "Carlos O'Donell" Subject: Re: struct siginfo vs. siginfo_t References: <20120226181752.1175.qmail@sourceware.org> <87zkbhkipp.fsf@schwinge.name> <87limuf9zn.fsf@schwinge.name> In-Reply-To: <87limuf9zn.fsf@schwinge.name> 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-03/txt/msg00778.txt.bz2 Okay, but, On 03/21/2012 11:51 AM, Thomas Schwinge wrote:> > gdb/ > * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead > of struct siginfo.gdb_siginfo_t. 'gdb_siginfo_t.' here looks like a pasto. > * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise. > * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise. > * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup) > (linux_xfer_siginfo, linux_nat_set_siginfo_fixup) > (linux_nat_get_siginfo): Likewise. > * linux-nat.h (lwp_info, linux_nat_set_siginfo_fixup) s/lwp_info/struct lwp_info/ > (linux_nat_get_siginfo): Likewise. > * linux-tdep.c (linux_get_siginfo_type): Likewise. > * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise. > * procfs.c (gdb_siginfo_t): Likewise. > > gdb/gdbserver/ > * linux-arm-low.c (arm_stopped_by_watchpoint): Use siginfo_t instead of > struct siginfo.gdb_siginfo_t. 'gdb_siginfo_t.' here looks like a pasto. > * linux-low.c (siginfo_fixup, linux_xfer_siginfo): Likewise. > * linux-x86-low.c (x86_siginfo_fixup): Likewise. > * linux-low.h (linux_target_ops): Likewise. Include instead > of declaring struct siginfo as incomplete type. * linux-low.h: Include . (struct siginfo): Delete forward declaration. (struct linux_target_ops) : Use siginfo_t instead of struct siginfo. Thanks. -- Pedro Alves