From cb6f16cf4f7a12f9aadddc0451d47f0511729c8d Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 15 Jun 2015 13:34:47 -0400 Subject: Cleanup write_memory doc This doc about write_memory seems outdated. gdb/ChangeLog: * corefile.c (write_memory): Update doc. * gdbcore.h (write_memory): Same. --- gdb/corefile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/corefile.c') diff --git a/gdb/corefile.c b/gdb/corefile.c index a042e6d9fb1..5246f7192ec 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -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) -- cgit v1.2.1