[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] Debugging QEMU NIOS2
From: |
Zeeshan Hayat |
Subject: |
[Qemu-discuss] Debugging QEMU NIOS2 |
Date: |
Wed, 21 Nov 2018 10:24:59 +0000 |
Hi,
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 issue
hello 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
- [Qemu-discuss] Debugging QEMU NIOS2,
Zeeshan Hayat <=