qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Add native debugger
@ 2011-11-27  4:10 Rick Hodgin
  2011-11-27 12:20 ` Blue Swirl
  0 siblings, 1 reply; 6+ messages in thread
From: Rick Hodgin @ 2011-11-27  4:10 UTC (permalink / raw)
  To: qemu-devel

For i386, I'm considering writing a native debugger for QEMU that is not GDB. It would allow a separate/new windowed interface which would show disassembly, registers, stack, local variables, memory windows, etc., allowing the user to single-step through code and trap opcodes like INT 1, INT 3, INT 4, etc.  It would be invoked with something like "qemu -debugger" from the command line, and would have a UI similar to Microsoft's Debugger in Visual Studio when no PDB is available, but would show a similar type of disassembly form.

I was looking at the QEMU code and I can't find an obvious place where it seems to iterate through each CPU instruction, which is where I had in mind to add a hook.

Can someone get me pointed in the right direction?  Where will I look for something like this:

for (;;)
{
  execute_next_instruction();
}

Thanks and best regards,
Rick C. Hodgin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-28  9:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-27  4:10 [Qemu-devel] Add native debugger Rick Hodgin
2011-11-27 12:20 ` Blue Swirl
2011-11-27 14:12   ` Rick Hodgin
2011-11-27 14:28     ` Andreas Färber
2011-11-27 14:45       ` Rick Hodgin
2011-11-28  9:58     ` felix.matenaar@rwth-aachen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).