From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16143 invoked by alias); 29 Sep 2010 16:32:59 -0000 Received: (qmail 16093 invoked by uid 22791); 29 Sep 2010 16:32:57 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Sep 2010 16:32:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 10C2D2BACD3 for ; Wed, 29 Sep 2010 12:32:50 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id p7leJr-MVsbA for ; Wed, 29 Sep 2010 12:32:50 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D3BEA2BAB09 for ; Wed, 29 Sep 2010 12:32:49 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 37498F591F; Wed, 29 Sep 2010 09:32:47 -0700 (PDT) Date: Wed, 29 Sep 2010 18:55:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: New ARI warning Wed Sep 29 01:54:08 UTC 2010 Message-ID: <20100929163246.GN3007@adacore.com> References: <20100929015408.GA32737@sourceware.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100929015408.GA32737@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-09/txt/msg00492.txt.bz2 > 1096a1097,1099 > > gdb/ravenscar-sparc-thread.c:71: deprecate: read_memory: Replace read_memory() with regcache_read() et.al. > gdb/ravenscar-sparc-thread.c:71: read_memory (register_addr, buf, buf_size); > > gdb/ravenscar-sparc-thread.c:173: deprecate: write_memory: Replace write_memory() with regcache_read() et.al. > gdb/ravenscar-sparc-thread.c:173: write_memory (register_address, > > gdb/ravenscar-thread.c:156: deprecate: read_memory: Replace read_memory() with regcache_read() et.al. > gdb/ravenscar-thread.c:156: read_memory (object_addr, buf, buf_size); I can fix the warnings, but are we really planning on removing read/write_memory (and why?). I can use target_read_memory instead, but I don't get the suggestion about regcache_read... -- Joel