This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: regcache_raw_supply query
- From: Michael Snyder <msnyder at vmware dot com>
- To: paawan oza <paawan1982 at yahoo dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 14 Jan 2011 10:51:03 -0800
- Subject: Re: regcache_raw_supply query
- References: <442684.38194.qm@web112512.mail.gq1.yahoo.com>
paawan oza wrote:
Hi,
I am using
regcache_raw_supply (armr.regcache, ARM_PS_REGNUM, ®);
API to fetch arm register value
Is there any macro or API available to fetch arm register's value ?
or
it is ok to use regcache_raw_supply ?
It is fine to use that function, as well as
regcache_raw_read* and regcache_raw_write*.