Cleanup write_memory doc

This doc about write_memory seems outdated.

gdb/ChangeLog:

	* corefile.c (write_memory): Update doc.
	* gdbcore.h (write_memory): Same.
This commit is contained in:
Simon Marchi
2015-06-15 13:34:47 -04:00
parent 31b7833d20
commit cb6f16cf4f
3 changed files with 9 additions and 6 deletions

View File

@@ -383,8 +383,8 @@ read_memory_typed_address (CORE_ADDR addr, struct type *type)
return extract_typed_address (buf, type);
}
/* Same as target_write_memory, but report an error if can't
write. */
/* See gdbcore.h. */
void
write_memory (CORE_ADDR memaddr,
const bfd_byte *myaddr, ssize_t len)