Altera_Forum
Honored Contributor
16 years agoDebugging Apps under Linux MMU
Well, I'm on to debugging apps under linux.
I tried to follow (and adapt) the wiki directions for using gdb: http://www.nioswiki.com/operatingsystems/uclinux/debugapps I'm using the gdbserver and nios2-linux-gnu-gdb from the tarball on: http://www.nioswiki.com/linux I can run gdbserver on my board. When I run gdb on my host and execute the "target remote" command, it doesn't seem to have any idea about what is going on. It seems to think the program is already running. I have some questions about the DebugApps page, and how to apply it to Linux with MMU:- Is the "-elf2flt" option a compile option or a link option? And do I need it?
- Where does the file "hello.gdb" come from? Is it generated by the compiler?