From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18776 invoked by alias); 6 Dec 2003 22:08:33 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18767 invoked from network); 6 Dec 2003 22:08:32 -0000 Received: from unknown (HELO jifvik.dyndns.org) (81.104.194.28) by sources.redhat.com with SMTP; 6 Dec 2003 22:08:32 -0000 Received: from eCosCentric.com (garibaldi.jifvik.org [172.31.1.2]) by jifvik.dyndns.org (Postfix) with ESMTP id D62E137485; Sat, 6 Dec 2003 22:08:30 +0000 (GMT) Message-ID: <3FD2535E.9000108@eCosCentric.com> Date: Sat, 06 Dec 2003 22:08:00 -0000 From: Jonathan Larmour User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.4) Gecko/20030703 X-Accept-Language: en-gb, en, en-us MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: powerpc remote target registers References: <3FC7FF5D.7060906@eCosCentric.com> <3FCB8DDC.30603@gnu.org> <3FCC21B2.30000@eCosCentric.com> <3FCD6527.9000506@gnu.org> <3FCEE306.5050604@eCosCentric.com> <3FCF4EA0.2030803@gnu.org> In-Reply-To: <3FCF4EA0.2030803@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00239.txt.bz2 Andrew Cagney wrote: > > Try the attached, its basicly the same but with a few not very obvious > tweaks: supply_register is actually deprecated (but you couldn't tell > :-); ->offset is really only valid when ->in_g_packet; avoids an > assuption about the total size of the buffer and the behavior of get > packet. > > I think I got the logic right. Just FAOD in case you're waiting for me to confirm, the patch does indeed appear to work fine. Jifl -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts --["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine