[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Resume Flag support on i386/x86_64?
From: |
Alex Smith |
Subject: |
[Qemu-devel] Resume Flag support on i386/x86_64? |
Date: |
Tue, 17 Feb 2009 08:27:57 +0000 |
Hi,
Recently support for hardware breakpoint support on i386/x86_64 was
added (revision 5747 -
http://lists.gnu.org/archive/html/qemu-devel/2008-11/msg01025.html).
I've been using hardware breakpoints while writing a debugger for my
hobby OS kernel, however I've discovered that despite support being
added for them in QEMU, the Resume Flag (bit 16 in EFLAGS) is not
supported. When this flag is set on return from an interrupt, the CPU
should ignore instruction breakpoints for the next instruction, and
then clear the flag after checking for breakpoints (there's a
description on page 18-10 of the Intel Software Developer's Manual
Volume 3B).
Would it be possible to implement support for this?
Thanks,
Alex
- [Qemu-devel] Resume Flag support on i386/x86_64?,
Alex Smith <=