|
From: | prime |
Subject: | Re: [Qemu-devel] Make QEMU more friendly for kernel debug |
Date: | Sun, 26 Feb 2006 14:18:42 +0800 |
Hi,
Please do...
I got a question, doesn't disable the interrupts changes the
underlying system? Perhaps a good way would be to monitor the
completion of the interrupt routine before singlestepping to the next
instruction?
On 2/23/06, prime <address@hidden> wrote:
> Hello everyone,
> I find that I can't single step OS kernels use qemu.When I use "step"
> or "next" command in gdb,the kernel always enter its interrupt route
> instead of executing the next instruction after the breakpoint.So I modify
> QEMU's source code to disable interrupts in single step mode,and now I
> can use "step" or "next" command in gdb to single step functions.
>
> Should I post the patch? It is a very small modification.
>
> --
> Three passions, simple but overwhelmingly strong, have governed my life:
> the longing for love, the search for knowledge, and unbearable pity for
> the suffering of mankind.
> ---------Bertrand Russell
>
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
>
[Prev in Thread] | Current Thread | [Next in Thread] |