[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How to follow a child process created in the guest OS?
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] How to follow a child process created in the guest OS? |
Date: |
Fri, 10 Feb 2012 08:14:41 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Feb 09, 2012 at 06:33:16PM +0800, 陳韋任 wrote:
> The question is not so related to QEMU itself, but I want to give it a try.
> I am running a tiny OS on QEMU and debugging it with gdbstub. The tiny OS will
> fork process 1, 2, ... and so on. I want to follow the child process, but the
> GDB command `set follow-fork-mode child` doesn't work. This seems to be a bug
> or missing feature in GDB remote protocol. [1]
>
> Is there a way to do what I'm trying to do? Thanks!
I'm confused. If you are running a system emulator with a guest OS
inside then GDB's process-level features are not available. The QEMU
gdbstub gives you access at the system-level. If you want to debug
guest processes, run gdb inside the guest.
Stefan
- [Qemu-devel] How to follow a child process created in the guest OS?, 陳韋任, 2012/02/09
- Re: [Qemu-devel] How to follow a child process created in the guest OS?, Max Filippov, 2012/02/10
- Re: [Qemu-devel] How to follow a child process created in the guest OS?,
Stefan Hajnoczi <=
- Re: [Qemu-devel] How to follow a child process created in the guest OS?, 陳韋任, 2012/02/10
- Re: [Qemu-devel] How to follow a child process created in the guest OS?, Andreas Färber, 2012/02/10
- Re: [Qemu-devel] How to follow a child process created in the guest OS?, malc, 2012/02/10
- Re: [Qemu-devel] How to follow a child process created in the guest OS?, Wei Yang, 2012/02/12
- Re: [Qemu-devel] How to follow a child process created in the guest OS?, Stefan Hajnoczi, 2012/02/13