From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7353 invoked by alias); 22 Feb 2016 11:51:39 -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 7332 invoked by uid 89); 22 Feb 2016 11:51:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pf0-f177.google.com Received: from mail-pf0-f177.google.com (HELO mail-pf0-f177.google.com) (209.85.192.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 22 Feb 2016 11:51:37 +0000 Received: by mail-pf0-f177.google.com with SMTP id q63so91689265pfb.0 for ; Mon, 22 Feb 2016 03:51:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=KnMhKNv4ix/PqRf1yI/cN6u/rg0Ti0LZKQGO3h29gmY=; b=lDddeNzud5usrhtDSv2yqQ95j6dI90fQqGQyouOGeoR82MgCdJ8MvMR8+c7AXTpnYn l8arcaxOP1RwSyXyja5yWO0+fWxNQJc9nlRHjEHv8I7Xbl/GccZgY9Lf5NTZIjIYk+6G SeOiqeH6B9z+wF/vrgYSYRZmn6kJWdEIwe1O3X0gNXb0X6n+6y4jpuvabEUHgHDjVPMf rexT4yURCAzDCmOVc8llL4mOv0SdvuEWMko02kIg1UvrvHuLS5s9RzV77Sivok0wa3bf W9ATQlDk0LOdTtSpedTA/T3XPC7wGz/FGNar4rPE3c6CwXxBGHVKE6P1Q+B+SR5O3ZQ7 8qDA== X-Gm-Message-State: AG10YOTbiExL3nM0yFuwmTasHCOzg97YxDADhJFApHyWa6BSD1cqqTCoxzA5oG28fFhnJw== X-Received: by 10.98.11.134 with SMTP id 6mr37889553pfl.109.1456141895401; Mon, 22 Feb 2016 03:51:35 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id by3sm36543116pab.39.2016.02.22.03.51.31 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 22 Feb 2016 03:51:34 -0800 (PST) From: Yao Qi To: Pedro Alves Cc: Antoine Tremblay , gdb-patches@sourceware.org, qiyaoltc@gmail.com Subject: Re: [PATCH v3] Enable tracing of pseudo-registers on ARM References: <1455910116-13237-1-git-send-email-antoine.tremblay@ericsson.com> <56C7796B.3030504@redhat.com> Date: Mon, 22 Feb 2016 11:51:00 -0000 In-Reply-To: <56C7796B.3030504@redhat.com> (Pedro Alves's message of "Fri, 19 Feb 2016 20:22:03 +0000") Message-ID: <861t85dku8.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: 2016-02/txt/msg00644.txt.bz2 Pedro Alves writes: > Hmm, I don't think it should be the responsibility of this function to > map gdb to remote numbers though. Here I think we should just map > gdb pseudo to gdb raw. Yes, I agree. Each backend should map pseudo to gdb raw, and the common code should map the gdb raw to target raw number. --=20 Yao (=E9=BD=90=E5=B0=A7)