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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

InSight debugger instead of Eclipse debugger

Altera_Forum
Honored Contributor II
1,525 Views

Hi All, 

I would like to know if it is possible to use Insight Debugger Tool (which is also GDB based) , instead of eclipse plug-in provided in NIOS2 IDE ? 

Because I feel that Eclipse plug-in is pretty slow for debugging . 

 

More info on insight here :  

 

http://sources.redhat.com/insight/ (http://sources.redhat.com/insight/

 

Any comment is welcomed. 

 

Regards.
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
844 Views

It ships as part of the standard GCC toolchain: nios2-elf-insight and/or nios2-debug 

 

I've also used DDD on top of the GDB stuff and it works, as well. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
844 Views

 

--- Quote Start ---  

originally posted by slacker@Jul 14 2006, 08:39 AM 

it ships as part of the standard gcc toolchain:  nios2-elf-insight and/or nios2-debug 

 

i've also used ddd on top of the gdb stuff and it works, as well. 

 

cheers, 

 

- slacker 

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

--- quote end ---  

 

--- Quote End ---  

 

 

Thx a lot Slacker. 

Just one more question : do you now if the InSight bundled version is the latest one ? 

 

Regards http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
0 Kudos
Altera_Forum
Honored Contributor II
844 Views

 

--- Quote Start ---  

originally posted by bigboss25+jul 14 2006, 11:37 am--><div class='quotetop'>quote (bigboss25 @ jul 14 2006, 11:37 am)</div> 

--- quote start ---  

<!--quotebegin-slacker@Jul 14 2006, 08:39 AM 

it ships as part of the standard gcc toolchain:  nios2-elf-insight and/or nios2-debug 

 

i&#39;ve also used ddd on top of the gdb stuff and it works, as well. 

 

cheers, 

 

- slacker 

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

--- quote end ---  

 

--- Quote End ---  

 

 

Thx a lot Slacker. 

Just one more question : do you now if the InSight bundled version is the latest one ? 

 

Regards http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif  

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

[/b] 

--- Quote End ---  

 

Finally, one more question http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif  

Would it be possible to post files as well as a mini "how to" (may be on Wiki) clarifying usage of DDD with NIOS 2. 

 

Thx!
0 Kudos
Altera_Forum
Honored Contributor II
844 Views

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

--- Quote Start ---  

Finally, one more question  http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif  

Would it be possible to post files as well as a mini "how to" (may be on Wiki) clarifying usage of DDD with NIOS 2.[/b] 

--- Quote End ---  

 

 

Sure, though I don&#39;t know that it merits its own section. All that&#39;s really involved is pointing the DDD tool at the nios2-elf-gdb. The rest of the usage really is DDD-specific and there are plenty of tutorials available.
0 Kudos
Altera_Forum
Honored Contributor II
844 Views

 

--- Quote Start ---  

originally posted by bigboss25@Jul 14 2006, 08:37 AM 

thx a lot slacker. 

just one more question : do you now if the insight bundled version is the latest one ? 

 

regards  http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif  

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

--- quote end ---  

 

--- Quote End ---  

 

 

Insight is, generally, bundled right along with any standard GCC/binutils/gdb toolchain.... Here are the versions that are shipped with Nios II: 

 

1.  GCC     3.4.1 2.  GDB/Insight     6.1 3.  binutils     5.1 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
844 Views

Dear all, 

 

I don&#39;t clear about how to configuration NiosII IDE with Insight Debugger, anyone tell me the detailed information... 

 

Thanks very much, 

David
0 Kudos
Altera_Forum
Honored Contributor II
844 Views

 

--- Quote Start ---  

originally posted by david_cai@Jul 16 2006, 05:13 PM 

dear all, 

 

    i don&#39;t clear about how to configuration niosii ide with insight debugger, anyone tell me the detailed information... 

 

thanks very much, 

david 

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

--- quote end ---  

 

--- Quote End ---  

 

 

I don&#39;t think it makes any sense to use the Insight Debugger _with_ the IDE. You either use the IDE&#39;s built-in debug facilities or the Insight GDB GUI, but not both...in my opinion. There is nothing special about the Nios II implementation of Insight. You should be able to find plenty of information regarding its use on the web. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
844 Views

Hi Slacker, 

 

I&#39;m using C++ to develop my project. 

The problem is when I create a new class, for example: 

 

class BufferAllocation 

public: 

 

alt_u16 *pOutputBuffer; 

 

public: 

BufferAllocation() 

{} 

 

~BufferAllocation() 

{} 

 

alt_u16* GetBufferPointer(void) 

{} 

 

void ClearBuffer(void) 

{}  

}; 

 

But when I use this new class, NiosII IDE can&#39;t show me it&#39;s members automatically. For example, I create an object of BufferAllocation named pBuffer. 

when I write pBuffer-> no members showed. If in VC, you&#39;ll see a list of it members. 

 

What&#39;s the problem? 

David
0 Kudos
Reply