This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sim/10362] New: Simulator does not handle non-zero load address


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]