From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62876 invoked by alias); 11 Jul 2017 08:03:08 -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 57743 invoked by uid 89); 11 Jul 2017 08:01:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:static. X-HELO: mail-it0-f65.google.com Received: from mail-it0-f65.google.com (HELO mail-it0-f65.google.com) (209.85.214.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Jul 2017 08:01:30 +0000 Received: by mail-it0-f65.google.com with SMTP id o202so1925809itc.1 for ; Tue, 11 Jul 2017 01:01:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=AHuv9U8siwV+jkEyxneddxSYf05Jhv9Wjssao2jJWgc=; b=Zt75z6cpAbc9J6/1p5Ue90KogPJHaSBdm0rxHBh3iu1EH1xodLVkoBrYmOxdUYdT/g rd3/k2wqP8waP1dDQG6NeX+oGwqfUNnIdQUUO84WHH47vTR/4v5y7qeYK2v7areCUbHI L3o90AWrD8vhYQlZWY+D1AKbP1HT6uPoruhO+2O+eGjnnyfpCbhcq370Etl2eKOwm5iW Tg74+/Bg8ih7BMDwX8sfhgqBjzJmwnJGSFtPH6QFqqXOPcEztRdUW/DEkQeuTmnRAIlz uJA2V1UlYxUPp4/rdayFVu/cDOSVyY3RyYdxE4avZxBV/pzscOk2r/9+x9TwhZxlWVJG GFcw== X-Gm-Message-State: AIVw110KSc4acgrO+/4+RkWkgCkle6Anzo+yTJVkrywiZPwGvnaSObys GT068fFT4qSVSCrC X-Received: by 10.36.8.195 with SMTP id 186mr2130476itc.76.1499760088423; Tue, 11 Jul 2017 01:01:28 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id f127sm537684itf.27.2017.07.11.01.01.27 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 11 Jul 2017 01:01:27 -0700 (PDT) From: Yao Qi To: John Baldwin Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 1/2] Include the fs_base and gs_base registers in amd64 target descriptions. References: <20170627224948.99138-1-jhb@FreeBSD.org> <20170627224948.99138-2-jhb@FreeBSD.org> Date: Tue, 11 Jul 2017 08:03:00 -0000 In-Reply-To: <20170627224948.99138-2-jhb@FreeBSD.org> (John Baldwin's message of "Tue, 27 Jun 2017 15:49:47 -0700") Message-ID: <86shi3qu5m.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00093.txt.bz2 John Baldwin writes: > This permits these registers to be used with non-Linux targets. Some GDBserver uses these target description files, like x86_64-*-mingw*, after this change, GDBserver will reply GDB the target description including "64bit-segments.xml". Then, GDB will request the contents of 64bit-segments.xml from GDBserver, looks 64bit-segments.xml is already builtin in GDBserver, so there isn't an issue here. The patch is good to me. P.S. this is a good example to show the inflexibility in current target description. After we change it to my new approach of target description, this change will be just two or three lines :) --=20 Yao (=E9=BD=90=E5=B0=A7)