Zeeshan Hayat
2018-11-21 10:24:59 UTC
Hi,
I am trying to debug simple program (hello_world). I run the QEMU as,
hello executable is generated as,
I am not sure if I am doing something wrong here...
/Zeeshan
I am trying to debug simple program (hello_world). I run the QEMU as,
qemu-system-nios2 -s
and run the nios aware gdb as,nios2-elf-gdb hello
and than in gdb I attach it to QEMU by,target remote localhost:1234
but when I type "continue" in gdb window, it just hangs and prints nothing. I tried to set breakpoint but still the same issuehello executable is generated as,
nios2-elf-gcc -g -o hello hello.c
Where hello.c is a simple program which prints "hello world"I am not sure if I am doing something wrong here...
/Zeeshan