This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Wed Sep 29 01:54:08 UTC 2010
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 29 Sep 2010 09:32:47 -0700
- Subject: Re: New ARI warning Wed Sep 29 01:54:08 UTC 2010
- References: <20100929015408.GA32737@sourceware.org>
> 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