mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-06 14:21:43 +08:00
gdbserver: add comments to read_inferior_memory function
Just adding some comments to the gdbserver read_inferior_memory function. No actual code changes.
This commit is contained in:
parent
bb0797528b
commit
027d8f7848
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -344,6 +344,8 @@ tracepoint_look_up_symbols (void)
|
||||
GDBserver side. */
|
||||
|
||||
#ifdef IN_PROCESS_AGENT
|
||||
/* See target.h. */
|
||||
|
||||
int
|
||||
read_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr, int len)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user