diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-10-20 10:52:48 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-01-13 16:41:05 +0000 |
commit | 027d8f7848f30e5b075dc0c9d74107a1747de190 (patch) | |
tree | 95c3e9f4575c13059f595abef845767ad87e2e0a /gdbserver/target.h | |
parent | bb0797528bf532848ed96b439b363df543a15477 (diff) | |
download | gdb-027d8f7848f30e5b075dc0c9d74107a1747de190.zip gdb-027d8f7848f30e5b075dc0c9d74107a1747de190.tar.gz gdb-027d8f7848f30e5b075dc0c9d74107a1747de190.tar.bz2 |
gdbserver: add comments to read_inferior_memory function
Just adding some comments to the gdbserver read_inferior_memory
function. No actual code changes.
Diffstat (limited to 'gdbserver/target.h')
-rw-r--r-- | gdbserver/target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbserver/target.h b/gdbserver/target.h index eea651c..6d92f0f 100644 --- a/gdbserver/target.h +++ b/gdbserver/target.h @@ -700,6 +700,9 @@ target_thread_pending_child (thread_info *thread) return the_target->thread_pending_child (thread); } +/* Read LEN bytes from MEMADDR in the buffer MYADDR. Return 0 if the read + is successful, otherwise, return a non-zero error code. */ + int read_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr, int len); /* Set GDBserver's current thread to the thread the client requested |