Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
898 Views

Debugger and disassembly.

Hello. 

How to make steps and set breakpoints in disassembly? 

for example i have following code.  

   g_unOnchipRamBase = ONCHIP_RAM_BASE; 0x0100046c <InitIHEX+12>: movhi r2,528 0x01000470 <InitIHEX+16>: addi  r2,r2,0 0x01000474 <InitIHEX+20>: stw   r2,-32660(gp) 

if i&#39;ll press F5 i will go through these all asm lines. 

but, for example, i want to set breakpoint on line "addi r2,r2,0" or more important, i want execute code by single instruction in disassembly. 

how?
0 Kudos
2 Replies
Highlighted
Valued Contributor III
4 Views

Hi, 

 

1. You can set a breakpoing but double click the left edge of the line. 

2. <div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

How to execute code by single instruction in disassembly.[/b] 

--- Quote End ---  

 

In Debug Perspective, there is a tool in tool bar, named Use Step Filter/Step Debug, enable it then you can step in disassemble code. 

 

David
0 Kudos
Highlighted
Valued Contributor III
4 Views

Thank you

0 Kudos