RE: how to debug/analyze qemu code while running OS on the virtual machine?

2021-08-06 Thread ckim
> > You can also use any of the standard gdb mechanisms for putting a > > commandline debuggee in a different terminal to the gdb, including (a) > > using gdb's --tty argument to say "put the application's terminal i/o > > into this other tty" or > > (b) using gdbserver (the gdb one, not QEMU's gdb

RE: how to debug/analyze qemu code while running OS on the virtual machine?

2021-08-06 Thread ckim
debug/analyze qemu code while running OS on the > virtual machine? > > On Fri, 6 Aug 2021 at 10:16, wrote: > > > > Sorry, I soon found when I run the application on the OS, the breakpoint > work in the debugger and the debugger command and source window comes back. > &

Re: how to debug/analyze qemu code while running OS on the virtual machine?

2021-08-06 Thread Peter Maydell
On Fri, 6 Aug 2021 at 10:16, wrote: > > Sorry, I soon found when I run the application on the OS, the breakpoint work > in the debugger and the debugger command and source window comes back. > > I need to occasionally type ctrl-l to see the source code clearly. You can also use any of the standa

RE: how to debug/analyze qemu code while running OS on the virtual machine?

2021-08-06 Thread ckim
PM To: 'qemu-discuss' Subject: how to debug/analyze qemu code while running OS on the virtual machine? Hello folks, Wish you all a healthy summer in this COVID-19 season. I'm running ubuntu on a virtual machine (arm64 virt machine with an added peripheral). I want to follow

how to debug/analyze qemu code while running OS on the virtual machine?

2021-08-06 Thread ckim
Hello folks, Wish you all a healthy summer in this COVID-19 season. I'm running ubuntu on a virtual machine (arm64 virt machine with an added peripheral). I want to follow qemu code path while running an application/driver on the virtual machine. This is the command I tried. Gdb -command