[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Tracking state in QEMU (CPU registers, memory, etc)
From: |
Peter Maydell |
Subject: |
Re: [Qemu-discuss] Tracking state in QEMU (CPU registers, memory, etc) |
Date: |
Sat, 4 Jul 2015 12:26:08 +0100 |
On 4 July 2015 at 08:36, Morten W. Petersen <address@hidden> wrote:
> I was wondering if it is possible to see what's going on, on machine code
> level using QEMU.
>
> For example, would it be possible to call some function or interrupt when
> running Linux inside QEMU X86 emulation mode and be able to peek through
> memory, registers etc. and even step through instruction by instruction?
If you connect a gdb to QEMU's built in gdbstub, then you can do
all of this with the usual gdb commands and UI :-)
-- PMM