From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30195 invoked by alias); 2 Dec 2013 11:04:26 -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 30185 invoked by uid 89); 2 Dec 2013 11:04:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.2 required=5.0 tests=AWL,BAYES_50,GARBLED_BODY,RDNS_NONE autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Dec 2013 11:04:23 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1VnRIN-0000KN-6m from Yao_Qi@mentor.com ; Mon, 02 Dec 2013 03:04:07 -0800 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 2 Dec 2013 03:04:07 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.2.247.3; Mon, 2 Dec 2013 03:04:06 -0800 Message-ID: <529C68C9.10001@codesourcery.com> Date: Mon, 02 Dec 2013 11:04:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Pedro Alves CC: Doug Evans , Subject: Re: [PATCH] Delegate to target_ops->beneath to read cache lines References: <1385554824-7159-1-git-send-email-yao@codesourcery.com> <5295F877.3060004@redhat.com> <52980180.1050000@codesourcery.com> <529C232A.7080900@codesourcery.com> <529C62B0.1030402@redhat.com> In-Reply-To: <529C62B0.1030402@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00030.txt.bz2 On 12/02/2013 06:36 PM, Pedro Alves wrote: > Do you see a problem with this? > No. > gdb/ > 2013-12-02 Pedro Alves > > * dcache.c (dcache_read_line): Use target_read_raw_memory. > * target.c (target_read_raw_memory): New function. > (target_read_stack, target_write_memory, target_write_raw_memory): > Update comment. > (target_read_core): Add comment. ^^^^^ target_read_code. -- Yao (齐尧)