[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: Function used by GDB to access target sim memory
From: Pedro Alves <palves () redhat ! com>
Date: 2019-08-19 19:18:38
Message-ID: b0829a86-bb40-ac20-398f-7eaa73c20f3d () redhat ! com
[Download RAW message or body]
On 8/18/19 6:55 PM, William Tambe wrote:
> What function does GDB use to access the simulator memory when "target
> sim" is in use ?
The interface between gdb and the sim is all in gdb/remote-sim.c.
Sounds like you're looking for gdbsim_xfer_memory.
>
> For instance, to implement the access to the simulator registers, one must use:
> CPU_REG_FETCH()
> CPU_REG_STORE()
>
> Are there similar functions for accessing the simulator memory ?
>
Thanks,
Pedro Alves
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic