Hello, all.
  A program, before it can run at it's runtime address, it has to configure the 
memory, copy itself to the memory,
or enable the MMU; after these, it can run at it's runtime address.
   My question is, how can I debug it with OpenOCD and gdb, when it does not 
run at it's runtime address?  
   This is a example, when I debug the linux kernel, the gdb command 'break' 
can't work before the MMU
is enabled ,  the address of the break point does not exist yet. My method is: 
telnet the OpenOCD, 'step' to 
the instuction 'turn_on_mmu. Just after the MMU is enable, I can set the break 
point use GDB. 
   But this method is difficult for newbie.
   Do somebody have a easy way?
   
                                

        dswei
        [email protected]
          2008-09-29
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to