[PATCH 1/2] Simplify write_inferior_memory

Pedro Alves palves@redhat.com
Thu Aug 15 15:51:00 GMT 2019


On 8/14/19 5:48 PM, Tom Tromey wrote:
> +  std::vector<unsigned char> buffer (myaddr, myaddr + len);

gdb::byte_vector 

> +  check_mem_write (memaddr, buffer.data (), myaddr, len);
> +  return (*the_target->write_memory) (memaddr, buffer.data (), len);

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list