[PATCH v2] gdb/sim: add support for exporting memory map
Sebastian Huber
sebastian.huber@embedded-brains.de
Fri Jan 8 05:17:31 GMT 2021
Hello Mike,
On 06/01/2021 12:04, Mike Frysinger via Gdb-patches wrote:
> This allows gdb to quickly dump & process the memory map that the sim
> knows about. This isn't fully accurate, but is largely limited by the
> gdb memory map format. While the sim supports RWX bits, gdb can only
> handle RW or RO regions.
> ---
> gdb/remote-sim.c | 18 +++++++++++++
> include/gdb/remote-sim.h | 9 +++++++
> sim/common/sim-core.c | 57 ++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 84 insertions(+)
I think this change broke the powerpc simulator (target "powerpc-rtems6"
for example):
CXXLD gdb
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
remote-sim.o: in function `gdbsim_target::memory_map()':
/tmp/sh/src/rsb/rtems/build/powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1/build/gdb/../../sourceware-mirror-binutils-gdb-0f8e278/gdb/remote-sim.c:1283:
undefined reference to `sim_memory_map'
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the Gdb-patches
mailing list