{"push_id":633820933,"size":2,"distinct_size":2,"ref":"refs/heads/16bits_part1","head":"4271bda4407e03885ddd6ed15605b3d0cfe2f655","before":"b7c256c2fa20666ade14e7216205f7bb4b1352af","commits":[{"sha":"fec45cf6c3a08fe3edc6bbe999ddabdb07f6d16c","author":{"email":"fa7054fed17d58b06d3b1bf9b1077e42165a09ec@ericsson.com","name":"Simon Marchi"},"message":"remote: Consider addressable unit size when reading/writing memory\n\nAdapt code in remote.c to take into account addressable unit size when\nreading/writing memory.\n\nA few variables are renamed and suffixed with _bytes or _units. This\nway, it's more obvious if there is any place where we add or compare\nvalues of different kinds (which would be a mistake).\n\ngdb/ChangeLog:\n\n\t* common/rsp-low.c (needs_escaping): New.\n\t(remote_escape_output): Add unit_size parameter. Refactor to\n\tsupport multi-byte addressable units.  Rename parameters.\n\t* common/rsp-low.h (remote_escape_output): Add unit_size\n\tparameter and rename others. Update doc.\n\t* remote.c (align_for_efficient_write): New.\n\t(remote_write_bytes_aux): Add unit_size parameter and use it.\n\tRename some variables.  Update doc.\n\t(remote_xfer_partial): Get unit size and use it.\n\t(remote_read_bytes_1): Add unit_size parameter and use it.\n\tRename some variables.\n\t(remote_write_bytes): Same.\n\t(remote_xfer_live_readonly_partial): Same.\n\t(remote_read_bytes): Same.\n\t(remote_flash_write): Update call to remote_write_bytes_aux.\n\t(remote_write_qxfer): Update call to remote_escape_output.\n\t(remote_search_memory): Same.\n\t(remote_hostio_pwrite): Same.\n\ngdb/gdbserver/ChangeLog:\n\n\t* server.c (write_qxfer_response): Update call to\n\tremote_escape_output.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/fec45cf6c3a08fe3edc6bbe999ddabdb07f6d16c"},{"sha":"4271bda4407e03885ddd6ed15605b3d0cfe2f655","author":{"email":"fa7054fed17d58b06d3b1bf9b1077e42165a09ec@ericsson.com","name":"Simon Marchi"},"message":"MI: Consider byte size when reading/writing memory\n\nAs a user of the target memory read/write interface, the MI code must\nadjust its memory allocations to take into account the addressable memory\nunitsize of the target.\n\ngdb/ChangeLog:\n\n\tmi/mi-main.c (mi_cmd_data_read_memory_bytes): Consider byte\n\tsize.\n\t(mi_cmd_data_write_memory_bytes): Same.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/4271bda4407e03885ddd6ed15605b3d0cfe2f655"}]}