This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ARI warning Wed Sep 29 01:54:08 UTC 2010


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]