This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: New ARI warning Wed Jun 23 01:54:57 UTC 2010
> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Daniel Jacobowitz
> Envoyé?: Thursday, June 24, 2010 4:56 PM
> À?: gdb-patches@sourceware.org
> Objet?: Re: New ARI warning Wed Jun 23 01:54:57 UTC 2010
>
> 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);
I don't really know the origin of this rule,
but if you look up the sources, you will see that 'read_memory'
is defined in gdbcore.h
So this function should be specific for core management, no?
Maybe it would be better to suggest using target_read_memory
function in this rule.
Pierre