From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3222 invoked by alias); 24 Jun 2010 14:56:39 -0000 Received: (qmail 3210 invoked by uid 22791); 24 Jun 2010 14:56:38 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Jun 2010 14:56:34 +0000 Received: (qmail 29225 invoked from network); 24 Jun 2010 14:56:32 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 24 Jun 2010 14:56:32 -0000 Date: Thu, 24 Jun 2010 14:56:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: New ARI warning Wed Jun 23 01:54:57 UTC 2010 Message-ID: <20100624145616.GA31306@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20100623015457.GA20656@sourceware.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100623015457.GA20656@sourceware.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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 X-SW-Source: 2010-06/txt/msg00525.txt.bz2 On Wed, Jun 23, 2010 at 01:54:57AM +0000, GDB Administrator wrote: > 493a494,495 > > gdb/i386-tdep.c:543: deprecate: read_memory: Replace read_memory() with regcache_read() et.al. > gdb/i386-tdep.c:543: read_memory (from, buf, len); > > gdb/i386-tdep.c:557: deprecate: write_memory: Replace write_memory() with regcache_read() et.al. > gdb/i386-tdep.c:557: write_memory (to, buf, len); Am I missing something here? Why would you replace read_memory with regcache_read? -- Daniel Jacobowitz CodeSourcery