diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-06-20 09:31:37 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-06-21 16:27:15 +0100 |
commit | 33bab475a6984afedac8a036b3bb40b5555b4127 (patch) | |
tree | 90001a8f3d2240a6bb406e5d9916e4475c70d35a /gdb/varobj.c | |
parent | d388f64333fb977c1b975cb9d26c762b143f4cb9 (diff) | |
download | gdb-33bab475a6984afedac8a036b3bb40b5555b4127.zip gdb-33bab475a6984afedac8a036b3bb40b5555b4127.tar.gz gdb-33bab475a6984afedac8a036b3bb40b5555b4127.tar.bz2 |
Avoid memcpys in regcache read_part/write_part for full registers.
Additionally, tidy up the functions: Remove asserts, use gdb_byte,
update comments.
gdb/
* regcache.c (readable_regcache::read_part): Avoid memcpy when
possible.
(regcache::write_part): Likewise.
(readable_regcache::cooked_read_part): Update comment.
(readable_regcache::cooked_write_part): Likewise.
* regcache.h: (readable_regcache::read_part): Likewise.
(regcache::write_part): Likewise.
Diffstat (limited to 'gdb/varobj.c')
0 files changed, 0 insertions, 0 deletions