Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi,
I have followed the guide of nioswiki about:"Debug user space " but I have some doubts. The first one is with this command: --- Quote Start --- set solib-absolute-prefix ~/nios2-linux/toolchain-mmu/x86-linux2/nios2-wrs-linux-gnu/libc --- Quote End --- I mean "nios2-wrs-linux-gnu" is the same as "nios2-linux-gnu"?, because I haven't found the folder "nios2-wrs-linux-gnu". The other problem that I met is when I have to generate the .gdb file. With the binary tool chain of nioswiki I have to use this command to create de .gdb file. --- Quote Start --- nios2-linux-uclibc-gcc -g VGA.c -o VGA -elf2flt --- Quote End --- But can I create .gdb file with the toolchain-mmu?. I have read that I have to compiled again my application with -g , I have checked with :"nios2-linux-gnu-gcc -g ..." but I didn't go. If someone can suggest me any ideas. Many thanks