Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi,
--- Quote Start --- Just wanted to add that breakpoints don't work either, with the same result, the program just terminates: --- Quote End --- When the debuggee program crashes, the 'gdbserver' will terminate itself. So please get debuggee's 'coredump' file by setting 'ulimit -c ***', for example in your 'bash', And copy it to your PC, and read it by Nios's 'gdb' with the command 'core-file core'. I think that you can reach the position which causes the crash. Then set a breakpoint there and... And don't forget to compile your program with the option switch '-O0'. --- Quote Start --- Program terminated with signal SIGTRAP, Trace/breakpoint trap. --- Quote End --- SIGTRAP? Really? Kazu