Thread (1 message) 1 message, 1 author, 2003-08-01

Re: 750/107 CHRP question

From: Richard Danter <hidden>
Date: 2003-08-01 09:02:46

Wolfgang Denk wrote:
In message [ref] you wrote:
quoted
There is a command in the vICE-II called "CF MMU LINUX" which turns on
MMU handling (doesn't have to be Linux running) and then you use the
MMUA command to set up the mapping (eg MMUA C0000000 0 F0000000) and hey
presto!
Will this work just for code statically linked with  the  kernel,  or
also  for  dynamically  loaded  modules?  How about accessing dynamic
variables on the stack?

My understanding is that more than just a static  mapping  is  needed
for full MMUP support.
You are correct. Only the kernel and drivers statically linked can be
easily debugged. It could be possible to debug modules but since the
addresses change every time you load them it would not be practical. You
would have to edit the symbol files (*.ab) each time.

For complete MMU handling the debugger would need to know where to find
the mapping tables and remap it's symbol info. None of our debuggers can
do that yet.

Rich


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help