diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gdb/ChangeLog | 4 | ||||
-rw-r--r-- | include/gdb/remote-sim.h | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index 0ae9e0b..27efbaf 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2021-01-07 Mike Frysinger <vapier@gentoo.org> + + * remote-sim.h (sim_memory_map): Define. + 2016-07-15 John Baldwin <jhb@FreeBSD.org> * signals.def: Add GDB_SIGNAL_LIBRT. diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h index 73fb670..a3ba3aa 100644 --- a/include/gdb/remote-sim.h +++ b/include/gdb/remote-sim.h @@ -213,6 +213,15 @@ int sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length); void sim_info (SIM_DESC sd, int verbose); +/* Return a memory map in XML format. + + The caller must free the returned string. + + For details on the format, see GDB's Memory Map Format documentation. */ + +char *sim_memory_map (SIM_DESC sd); + + /* Run (or resume) the simulated program. STEP, when non-zero indicates that only a single simulator cycle |