linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How to debug MMU on powerpc?
@ 2000-06-30  7:55 Gong Zhuo
  2000-06-30 15:29 ` Tom Roberts
  0 siblings, 1 reply; 3+ messages in thread
From: Gong Zhuo @ 2000-06-30  7:55 UTC (permalink / raw)
  To: Linux PPC Mailing List


Hi:
  I am using MVME2600 and debug my program through serial port. I must use
MMU for some reasons and the virtual address and physical address is not
consistent. That means virtual address 0 maybe physical address 0xc000. I
have used BAT method. All the mapping is finished in assembly language and I
have make the cross-compile , gdb for powerpc-eabi. But how can I link and
debug my program?
  1. If I link my program with virtual address , the code before the mmu is
opened will be linked with the virtual address but they should run in the
physical address.
  2. The powerpc-eabi-gdb will load my program to the entry-point of virtual
address, but the mmu has not been opened at that time.
  ...


Gong Zhuo


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-07-01  3:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-30  7:55 How to debug MMU on powerpc? Gong Zhuo
2000-06-30 15:29 ` Tom Roberts
2000-07-01  3:05   ` Gong Zhuo

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 NNTP newsgroup(s).