diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-05-13 20:47:33 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-05-13 20:50:11 +0200 |
commit | bd49952bd7fbe616e2cb488e8080502f2338aaa2 (patch) | |
tree | dcd35ad3616260cc411e808fc451f8b8537876ef /gdb/regcache.h | |
parent | 46c03469b37d2ccb6a1eaa3ea4e21c57d07246fc (diff) | |
download | gdb-bd49952bd7fbe616e2cb488e8080502f2338aaa2.zip gdb-bd49952bd7fbe616e2cb488e8080502f2338aaa2.tar.gz gdb-bd49952bd7fbe616e2cb488e8080502f2338aaa2.tar.bz2 |
Make regcache_cpy_no_passthrough static
regcache_cpy_no_passthrough is no longer used for a standalone call.
gdb/ChangeLog
2015-05-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* regcache.c (regcache_cpy_no_passthrough): New declaration.
(regcache_cpy_no_passthrough): Make it static, add function comment.
* regcache.h (regcache_dup, regcache_cpy): Reduce/update their comment.
(regcache_cpy_no_passthrough): Remove declaration.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 394506a..a9fb44b 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -224,17 +224,12 @@ extern void regcache_save (struct regcache *dst, /* Copy/duplicate the contents of a register cache. By default, the operation is pass-through. Writes to DST and reads from SRC will - go through to the target. + go through to the target. See also regcache_cpy_no_passthrough. - The ``cpy'' functions can not have overlapping SRC and DST buffers. - - ``no passthrough'' versions do not go through to the target. They - only transfer values already in the cache. */ + regcache_cpy can not have overlapping SRC and DST buffers. */ extern struct regcache *regcache_dup (struct regcache *regcache); extern void regcache_cpy (struct regcache *dest, struct regcache *src); -extern void regcache_cpy_no_passthrough (struct regcache *dest, - struct regcache *src); extern void registers_changed (void); extern void registers_changed_ptid (ptid_t); |