Showing results for 
Search instead for 
Did you mean: 
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Debug User Space

Debug User Space

The jtag debugger is not working yet. So we will have to use printk to debug kernel. There is a gdbserver binary for userspace at nios2-linux/toolchain-mmu/nios2-linux/bin. (we will add the gdbserver source to uclinux-dist later) You may copy it to romfs/bin. To enable solib in gdb, you will need to run this command or add it to .gdbinit,

set solib-absolute-prefix ~/nios2-linux/toolchain-mmu/x86-linux2/nios2-wrs-linux-gnu/libc

 Please refer to the wiki about user space debugging,

  • DebugApps debug user space applications using gdb, gdbtui, insight or ddd.
  • EclipseCDT install and develop/debug with Eclipse CDT IDE.

Back to Linux for the Nios II Processor

Version history
Last update:
‎06-25-2019 11:09 PM
Updated by: