Forum Discussion

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

GDB HOST on Nios?

Hi,

I'm wanting to experiment with some remote debugging ideas.

To this end I was wondering if anyone had tried to setup a GDB host on a NIOS processor. I've looked at the GDB porting documentation and it looks like it may be possible.

I was just wondering if anyone one else had tried this crazy idea.

Thanks for any insight.

4 Replies

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

    Ummmm....that's how the current, Altera-supplied debug solution works. The Eclipse-based IDE communicates through GDB and the Insight debugger is shipped with every release. In fact, the whole of the toolchain is GNU/GCC/GDB based.

    How would your port be any different? :-)

    Cheers,

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

    --- Quote Start ---

    originally posted by slacker@Aug 9 2006, 04:57 PM

    ummmm....that's how the current, altera-supplied debug solution works. the eclipse-based ide communicates through gdb and the insight debugger is shipped with every release. in fact, the whole of the toolchain is gnu/gcc/gdb based.

    how would your port be any different? :-)

    cheers,

    - slacker

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17481)

    --- quote end ---

    --- Quote End ---

    How Insight can be launched ?

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

    --- Quote Start ---

    originally posted by slacker@Aug 9 2006, 05:57 PM

    how would your port be any different? :-)

    --- Quote End ---

    Hi,

    Just to be clear here, I want the &#39;HOST&#39; to reside on the NIOS to communicate with other &#39;TARGET&#39;s.

    You can, for instance, do this with the ARM processors (among others). In fact, one of the options is for an ARM-uclinux configuration. This is why I think it may be possible on the NIOS/uCLinux combination.

    Unless I&#39;m mistaken the &#39;HOST&#39; for a typical NIOS development cycle is the x86 PC.

    Thanks!