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!!链接已复制
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--- 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?
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 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!!
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.