From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89564 invoked by alias); 21 Jan 2016 15:05: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 89550 invoked by uid 89); 21 Jan 2016 15:05:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1853 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 21 Jan 2016 15:05:41 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 0FAF0C6567; Thu, 21 Jan 2016 15:05:40 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0LF5ccw017592; Thu, 21 Jan 2016 10:05:39 -0500 Message-ID: <56A0F3C2.4030305@redhat.com> Date: Thu, 21 Jan 2016 15:05:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Walfred Tedeschi , eliz@gnu.org, brobecker@adacore.com CC: gdb-patches@sourceware.org Subject: Re: [PATCH V4 1/6] Merge gdb and gdbserver implementations for siginfo References: <1453387705-6597-1-git-send-email-walfred.tedeschi@intel.com> <1453387705-6597-2-git-send-email-walfred.tedeschi@intel.com> In-Reply-To: <1453387705-6597-2-git-send-email-walfred.tedeschi@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-01/txt/msg00531.txt.bz2 On 01/21/2016 02:48 PM, Walfred Tedeschi wrote: > Extract the compatible siginfo handling from amd64-linux-nat.c and > gdbserver/linux-x86-low to a new file nat/amd64-linux-siginfo.c. > > > 2016-01-15 Walfred Tedeschi > > gdb/ChangeLog: > > * nat/amd64-linux-siginfo.c: New file. > * nat/amd64-linux-siginfo.h: New file. > * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h. > (amd64-linux-siginfo.o): New rule. > * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o. > * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include. > (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) > (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) > (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) > (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) > (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) > (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c. > > > gdb/gdbserver/ChangeLog: > > * configure.srv (x86_64-*-linux*): Add amd64-linux-siginfo.o > to srv_tgtobj. > (i[34567]86-*-linux*): Add amd64-linux-siginfo.o > to srv_tgtobj. > * linux-x86-low.c [__x86_64__]: Include > "nat/amd64-linux-siginfo.h". > (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) > (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) > (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) > (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) > (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) > (cpt_si_fd, si_timerid, si_overrun): Move from > nat/amd64-linux-siginfo.c. > * Makefile.in (amd64-linux-siginfo.o:): New rule. OK. This patch stands on its own -- please go ahead an push it. Thanks, Pedro Alves