Altera_Forum
Honored Contributor
15 years ago[uClinux] debug stub not caught by gdb
Hi all, I tried to debug a user app using a procedure listed on he wiki, namely:
- configure FPGA (nios2-configure-sof ...)
- open a JTAG terminal on host (nios2-terminal)
- start gdb server on host (nios2-gdb-server --tcpport 8888)
- start gdb on host upon vmlinux (nios2-linux-uclibc-gdb vmlinux)
- connect gdb to server (target remote localhost:8888)
- from gdb load vmlinux on target (load)
- start kernel execution (continue), now uClinux boots as seen on nios2-terminal
- at target's prompt execute 'debug hello' (hello is the hello world app).