From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110993 invoked by alias); 10 May 2017 16:16:29 -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 110223 invoked by uid 89); 10 May 2017 16:16:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=HTo:U*macro, D*imgtec.com, macro@imgtec.com, sk:macroi X-HELO: mail-pf0-f195.google.com Received: from mail-pf0-f195.google.com (HELO mail-pf0-f195.google.com) (209.85.192.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 10 May 2017 16:16:27 +0000 Received: by mail-pf0-f195.google.com with SMTP id w69so46983pfk.1 for ; Wed, 10 May 2017 09:16: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=6TzAIEHNzqLfJsrmzalvGRC16XEaaVRHAuKRT+yQai8=; b=SrStcClJrVO+aq88wB6s3ip6sL/OXVh40LMnIpk9RsEBN713b9iJhAByc0U9P8INO/ y037k6PISTNM6DnHXiRDjBUERzDRNvOvYT95II4m4Z5OTsr4yUzV3TEffydc34GUJLSn DMgIQ2hg7AcrFPSRdWLdGQ9TSG66ZJA1D3qR7fa4WOv6H2bQxlNMaycrROVojHHSlVlt 9ztDVnogBOH5oWISxxlxF4bbmM8VhIxP5tSsFHlWU6RmrFLQtkiLsZHrcJR/VjijE6lP 3dvU0EOGimy7dcyhTs4KxoD2/VQnnF4ONDLr6RTdSI2jNvA8u9NqsHh8JaM86MH64XUx fPFg== X-Gm-Message-State: AODbwcAQpgwjgi9TfBa5PAmifc4g3Ph8V+R1PwvIDG2ymjNhoTYJvH2a 6tI+mBo55A85qA== X-Received: by 10.98.200.142 with SMTP id i14mr7221785pfk.154.1494432988990; Wed, 10 May 2017 09:16:28 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id d1sm5883717pfa.56.2017.05.10.09.16.27 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 10 May 2017 09:16:28 -0700 (PDT) From: Yao Qi To: "Maciej W. Rozycki" Cc: Subject: Re: [PATCH] Move initialize_tdesc_mips* calls from mips-linux-nat.c to mips-linux-tdep.c References: <1494324439-15918-1-git-send-email-yao.qi@linaro.org> Date: Wed, 10 May 2017 16:16:00 -0000 In-Reply-To: (Maciej W. Rozycki's message of "Wed, 10 May 2017 12:51:59 +0100") Message-ID: <86a86k7kmg.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-05/txt/msg00280.txt.bz2 "Maciej W. Rozycki" writes: > Why? These descriptions are only used in the native case, otherwise=20 > gdbserver supplies its own. The current arrangement has worked for some= =20 > 12 years now. Because I want these target descriptions be available in -tdep.c files so that I can test them without running the test on a mips-linux machine. Long story is I changed the output of "maint print c-tdesc", and I add a test to make sure these generated C files (by this command) is still equivalent to the xml files. If it is not clear to you, I can include this patch in my whole patch series. --=20 Yao (=E9=BD=90=E5=B0=A7)