Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI've found an answer by myself.
nios2-debug loads binary image through nios2-gdb-server, but debugger on IDE loads image by nios2-download. It failed when I invoked nios2-elf-gdb from Emacs because I wrote .gdbinit by copying from nios2-debug like below: file test.elf target remote localhost:2342 load test.elf break main jump _start When I load by nios2-download (without -g option) and I remove "load test.elf" from .gdbinit, it succeeded to debug from nios2-elf-gdb on Emacs. Thanks.