aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-12 20:50:13 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-12 20:50:13 +0000
commita66a9c23319105b23198e91be27a2e2f442f4671 (patch)
treec85c046acdb57ad31f483bbaddc62168b96fe953 /gdb/regcache.h
parent3db0a37f8001da3a43a4423be783de7101251ea3 (diff)
downloadgdb-a66a9c23319105b23198e91be27a2e2f442f4671.zip
gdb-a66a9c23319105b23198e91be27a2e2f442f4671.tar.gz
gdb-a66a9c23319105b23198e91be27a2e2f442f4671.tar.bz2
2003-03-12 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_cooked_write_signed): New function. (regcache_cooked_write_unsigned): New function. (regcache_cooked_read_unsigned): Fix regnum in range assertion. (regcache_cooked_read_signed): Fix regnum in range assertion. * regcache.h (regcache_cooked_write_signed): Declare. (regcache_cooked_write_unsigned): Declare.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index dd62938..bc9757e 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -75,6 +75,10 @@ extern void regcache_cooked_read_signed (struct regcache *regcache,
int regnum, LONGEST *val);
extern void regcache_cooked_read_unsigned (struct regcache *regcache,
int regnum, ULONGEST *val);
+extern void regcache_cooked_write_signed (struct regcache *regcache,
+ int regnum, LONGEST val);
+extern void regcache_cooked_write_unsigned (struct regcache *regcache,
+ int regnum, ULONGEST val);
/* Partial transfer of a cooked register. These perform read, modify,
write style operations. */