From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22999 invoked by alias); 19 Nov 2001 21:36:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22959 invoked from network); 19 Nov 2001 21:36:18 -0000 Received: from unknown (HELO localhost.cygnus.com) (216.138.202.10) by sourceware.cygnus.com with SMTP; 19 Nov 2001 21:36:18 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id EDA623D7E; Mon, 19 Nov 2001 16:36:17 -0500 (EST) Message-ID: <3BF97B51.6030605@cygnus.com> Date: Wed, 07 Nov 2001 17:58:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.3) Gecko/20011020 X-Accept-Language: en-us MIME-Version: 1.0 To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] infptrace.c: use regcache_collect References: <15353.24043.102000.208495@krustylu.cygnus.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00130.txt.bz2 > 2001-11-19 Elena Zannoni > > * infptrace.c (fetch_register): Dynamically allocate buffer for > register. [Grrr] > (store_register): Use regcache_collect, instead of accessing the > register buffer directly. > Provided this has been tested and doesn't show regressions, I think the elimination of code like this can be considered pretty obvious. (Only 400 uses of registers[] remaining ...) Andrew