qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Make QEMU more friendly for kernel debug
@ 2006-02-24  7:46 prime
  2006-02-25  8:13 ` Mulyadi Santosa
  0 siblings, 1 reply; 5+ messages in thread
From: prime @ 2006-02-24  7:46 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 958 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Qemu-devel] Make QEMU more friendly for kernel debug
@ 2006-02-23  6:04 prime
       [not found] ` <92c265230602252042r5adf23a0y7de4d2c4905110c8@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: prime @ 2006-02-23  6:04 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 672 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 915 bytes --]

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

end of thread, other threads:[~2006-02-26  6:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-24  7:46 [Qemu-devel] Make QEMU more friendly for kernel debug prime
2006-02-25  8:13 ` Mulyadi Santosa
2006-02-25 10:56   ` prime
  -- strict thread matches above, loose matches on Subject: below --
2006-02-23  6:04 prime
     [not found] ` <92c265230602252042r5adf23a0y7de4d2c4905110c8@mail.gmail.com>
2006-02-26  6:18   ` prime

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).