Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12747 讨论

Can I step the assembly code in IDE?

Altera_Forum
名誉分销商 II
1,559 次查看

I only know how to step the source code when debugging using IDE. Can I step the assembly code in IDE like GDB(insight)? 

 

I know how to use GDB+insight to debug application of Altera NiosII project. Can I use GDB+insight to debug linux application? If yes, how to do that? 

 

Thanks!!
0 项奖励
10 回复数
Altera_Forum
名誉分销商 II
871 次查看

Yes you can step through the assembly code. There is a button to switch the view over to the assembled code. I'd point you to the button but I don't have the software installed on this computer. You can also see the memory contents, registers, etc.... 

 

Cheers
0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

hello upstairs, 

 

Button ? what Button. I found that some assembled code that can't debug.
0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

Ok, then coming soon. 

 

In the version of the IDE I have (which has the button I refer to), assembly debug is possible.
0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

 

--- Quote Start ---  

originally posted by badomen@Dec 13 2004, 03:07 AM 

ok, then coming soon. 

 

in the version of the ide i have (which has the button i refer to), assembly debug is possible. 

--- Quote End ---  

 

The version 1.0.0 has the button?
0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

the button you're looking for is available when in the debug perspective. It is located in the right-most set of buttons on the debug control toolbar in the Debug window (where the resume/terminate/step buttons are). It's the 4th icon from the right, next to the 'show gdb console' icon. This should be available in all versions of the IDE.

0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

..forgot to add - it's labelled 'Disassembly on/off'.

0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

 

--- Quote Start ---  

originally posted by dayne@Dec 13 2004, 08:54 AM 

the button you're looking for is available when in the debug perspective.  it is located in the right-most set of buttons on the debug control toolbar in the debug window (where the resume/terminate/step buttons are).  it's the 4th icon from the right, next to the 'show gdb console' icon.  this should be available in all versions of the ide. 

--- Quote End ---  

 

I got it!  

 

Thanks so much!!
0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

Cheers, 

 

I was about to give more info since I have the IDE up in front of me. See ffone13 I'm not crazy lol
0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

Hi all, 

 

Can you step into these functions like:IORD_8DIRECT(),IOWR_8DIRECT() and so on? 

 

thank u.
0 项奖励
Altera_Forum
名誉分销商 II
871 次查看

IORD and IOWR are macros (the IORD_xDIRECT family are all macros too). 

 

So you can't step into them because they appear inline (and normally compile up into exactly one instruction each in optimised code.
0 项奖励
回复