From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15829 invoked by alias); 5 Dec 2016 13:42:35 -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 15811 invoked by uid 89); 5 Dec 2016 13:42:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Envelope-From:sk:michael, Managing, gmbh, GmbH X-HELO: mga04.intel.com Received: from mga04.intel.com (HELO mga04.intel.com) (192.55.52.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Dec 2016 13:42:24 +0000 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP; 05 Dec 2016 05:42:22 -0800 X-ExtLoop1: 1 Received: from msturm-mobl2.ger.corp.intel.com (HELO [172.28.205.49]) ([172.28.205.49]) by fmsmga006.fm.intel.com with ESMTP; 05 Dec 2016 05:42:21 -0800 Subject: Re: [PATCH v2 1/5] Sync up x86-gcc-cpuid.h with cpuid.h from gcc-6 branch. To: Luis Machado , mark.kettenis@xs4all.nl, palves@redhat.com, eliz@gnu.org References: <1480599538-30543-1-git-send-email-michael.sturm@intel.com> <1480599538-30543-2-git-send-email-michael.sturm@intel.com> <5daed388-d8a5-9c48-1403-15f58d3dd67c@codesourcery.com> Cc: gdb-patches@sourceware.org From: "Sturm, Michael" Message-ID: <58456EBC.3030408@intel.com> Date: Mon, 05 Dec 2016 13:42:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5daed388-d8a5-9c48-1403-15f58d3dd67c@codesourcery.com> Content-Type: text/plain; charset="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2016-12/txt/msg00140.txt.bz2 On 02/12/2016 02:17, Luis Machado wrote: > On 12/01/2016 07:38 AM, Michael Sturm wrote: >> Pedro suggested a separate patch synching with GCCs cpuid.h >> instead of just adding new bits for PKU feature. >> >> gdb/Changelog: >> 2016-11-14 Michael Sturm >> >> * nat/x86-gcc-cpuid.h: Replace with copy of cpuid.h >> from gcc-6 branch. >> >> Change-Id: I7fadd372db689907475779c12400d123d40a71ce >> Signed-off-by: Michael Sturm >> --- >> gdb/nat/x86-gcc-cpuid.h | 128=20 >> ++++++++++++++++++------------------------------ >> 1 file changed, 48 insertions(+), 80 deletions(-) >> >> diff --git a/gdb/nat/x86-gcc-cpuid.h b/gdb/nat/x86-gcc-cpuid.h >> index 1045521..5d81b23 100644 >> --- a/gdb/nat/x86-gcc-cpuid.h >> +++ b/gdb/nat/x86-gcc-cpuid.h >> @@ -1,29 +1,7 @@ >> /* >> - * Helper cpuid.h file copied from gcc-4.8.0. Code in gdb should not >> + * Helper cpuid.h file copied from gcc-6. Code in gdb should not >> * include this directly, but pull in x86-cpuid.h and use that func. >> */ >> -/* >> - * Copyright (C) 2007-2016 Free Software Foundation, Inc. >> - * >> - * This file is free software; you can redistribute it and/or modify it >> - * under the terms of the GNU General Public License as published by=20 >> the >> - * Free Software Foundation; either version 3, or (at your option) any >> - * later version. >> - * >> - * This file is distributed in the hope that it will be useful, but >> - * WITHOUT ANY WARRANTY; without even the implied warranty of >> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU >> - * General Public License for more details. >> - * >> - * Under Section 7 of GPL version 3, you are granted additional >> - * permissions described in the GCC Runtime Library Exception, version >> - * 3.1, as published by the Free Software Foundation. >> - * >> - * You should have received a copy of the GNU General Public License=20 >> and >> - * a copy of the GCC Runtime Library Exception along with this program; >> - * see the files COPYING3 and COPYING.RUNTIME respectively. If not,=20 >> see >> - * . >> - */ > > Is this a simple replacement of files? The copyright blurb is gone for=20 > some reason. I suppose that's not expected? > Hello Luis, it's a copy of the GCC cpuid.h contents to this file. The=20 > copyright notice was lost by accident, I'll fix this in the next revision. Thanks and Regards, Michael Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Christian Lamprechter Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928