summaryrefslogtreecommitdiff
path: root/gdb/corefile.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-06-15 13:34:47 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-06-15 13:34:47 -0400
commitcb6f16cf4f7a12f9aadddc0451d47f0511729c8d (patch)
tree453ea411f97f59f3f360c6e533c6d4174cee2db5 /gdb/corefile.c
parent31b7833d205031b52996982f5da025d60c6e052f (diff)
downloadbinutils-gdb-cb6f16cf4f7a12f9aadddc0451d47f0511729c8d.tar.gz
Cleanup write_memory doc
This doc about write_memory seems outdated. gdb/ChangeLog: * corefile.c (write_memory): Update doc. * gdbcore.h (write_memory): Same.
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r--gdb/corefile.c4
1 files changed, 2 insertions, 2 deletions
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)