MI: consider addressable unit size when reading/writing memory
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 15 Jun 2015 19:50:31 +0000 (15:50 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 15 Jun 2015 19:50:31 +0000 (15:50 -0400)
commitcfc32360afdc8605b2dd2062e857313e62c40e30
treeba1a91b21b6ac2dd92cdc2642234a8af357981de
parenta86c90e6ba808e997f87f0287d9f01ba8d3e904e
MI: consider addressable unit size when reading/writing memory

As a user of the target memory read/write interface, the MI code must
adjust its memory allocations to take into account the addressable memory
unitsize of the target.

gdb/ChangeLog:

mi/mi-main.c (mi_cmd_data_read_memory_bytes): Consider byte
size.
(mi_cmd_data_write_memory_bytes): Same.
gdb/ChangeLog
gdb/mi/mi-main.c