aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/target.cc
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-10-20 10:52:48 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-01-13 16:41:05 +0000
commit027d8f7848f30e5b075dc0c9d74107a1747de190 (patch)
tree95c3e9f4575c13059f595abef845767ad87e2e0a /gdbserver/target.cc
parentbb0797528bf532848ed96b439b363df543a15477 (diff)
downloadbinutils-027d8f7848f30e5b075dc0c9d74107a1747de190.zip
binutils-027d8f7848f30e5b075dc0c9d74107a1747de190.tar.gz
binutils-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.cc')
-rw-r--r--gdbserver/target.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbserver/target.cc b/gdbserver/target.cc
index 24b8e21..720a61d 100644
--- a/gdbserver/target.cc
+++ b/gdbserver/target.cc
@@ -79,6 +79,8 @@ set_desired_process ()
return proc != nullptr;
}
+/* See target.h. */
+
int
read_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr, int len)
{