public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/10362] New: Simulator does not handle non-zero load address
@ 2009-07-05 12:01 sebastien dot bourdeauducq at lekernel dot net
  2009-07-05 12:03 ` [Bug sim/10362] " sebastien dot bourdeauducq at lekernel dot net
  0 siblings, 1 reply; 2+ messages in thread
From: sebastien dot bourdeauducq at lekernel dot net @ 2009-07-05 12:01 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug sim/10362] Simulator does not handle non-zero load address
  2009-07-05 12:01 [Bug sim/10362] New: Simulator does not handle non-zero load address sebastien dot bourdeauducq at lekernel dot net
@ 2009-07-05 12:03 ` sebastien dot bourdeauducq at lekernel dot net
  0 siblings, 0 replies; 2+ messages in thread
From: sebastien dot bourdeauducq at lekernel dot net @ 2009-07-05 12:03 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From sebastien dot bourdeauducq at lekernel dot net  2009-07-05 12:03 -------
I forgot to mention I'm using gdb-6.8.50.20090630



-- 


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-05 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-05 12:01 [Bug sim/10362] New: Simulator does not handle non-zero load address sebastien dot bourdeauducq at lekernel dot net
2009-07-05 12:03 ` [Bug sim/10362] " sebastien dot bourdeauducq at lekernel dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).