This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug sim/10362] New: Simulator does not handle non-zero load address
- From: "sebastien dot bourdeauducq at lekernel dot net" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 5 Jul 2009 12:01:53 -0000
- Subject: [Bug sim/10362] New: Simulator does not handle non-zero load address
- Reply-to: sourceware-bugzilla at sourceware dot org
When trying to load a ELF binary into the LatticeMico32 (LM32) simulator with
non-zero load and start addresses, parts of GDB will still use the default zero
address and cause many commands (backtrace, info, ...) to fail or display wrong
results.
This can be seen when using those commands (Linux kernel loaded at 0x40000000):
lm32-elf-gdb vmlinux
target sim --memory-region 0x40000000,0x4000000
load
run
Also, "info mem" does not report anything even though I think a memory region
should be defined at 0x40000000 - but I'm not familiar enough with gdb to decide
if it's a bug or not.
--
Summary: Simulator does not handle non-zero load address
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: sim
AssignedTo: unassigned at sourceware dot org
ReportedBy: sebastien dot bourdeauducq at lekernel dot net
CC: gdb-prs at sourceware dot org
GCC build triplet: i686-linux-gnu
GCC host triplet: i686-linux-gnu
GCC target triplet: lm32-unknown-elf
http://sourceware.org/bugzilla/show_bug.cgi?id=10362
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.