Debug User Space

Showing results for 
Search instead for 
Did you mean: 
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.

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: