Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Can I step the assembly code in IDE?

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!!

10 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hello upstairs,

    Button ? what Button. I found that some assembled code that can't debug.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok, then coming soon.

    In the version of the IDE I have (which has the button I refer to), assembly debug is possible.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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!!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all,

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

    thank u.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.