From: Jerone Young <jyoung5@us.ibm.com>
To: kvm-ppc@vger.kernel.org
Subject: Re: [PATCH] [v5] Add gdb break point support to PowerPC kvm
Date: Mon, 09 Jun 2008 21:08:02 +0000 [thread overview]
Message-ID: <1213045682.29739.25.camel@thinkpadL> (raw)
In-Reply-To: <1664758e846c292f5882.1213035589@thinkpadL>
On Mon, 2008-06-09 at 15:51 -0500, Hollis Blanchard wrote:
> On Mon, 2008-06-09 at 13:19 -0500, Jerone Young wrote:
> > 4 files changed, 128 insertions(+), 2 deletions(-)
> > arch/powerpc/kvm/booke_guest.c | 16 +++++
> > arch/powerpc/kvm/booke_interrupts.S | 3
> > arch/powerpc/kvm/powerpc.c | 106 ++++++++++++++++++++++++++++++++++-
> > include/asm-powerpc/kvm_host.h | 5 +
> >
> >
> > * Boiled down conditional for dbsr to one line, when handling debug interrupts.
> > Renamed load_guest_debug_registers() to guest_load_debug_registers()
> >
> > This patch adds the ability to use breakpoints from a gdb stub in userpace (currently qemu). It does this through the use of hardware debug registers.
> >
> > Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
>
> You still have not renamed restore_host_debug_state() and
> guest_load_debug_registers(), which you agreed to previously.
My bad. I was mainly just addressing the issues we went over this
morning. I'll fix the names.
>
> You still have not renamed guest_debug(), which you also agreed to
> previously. I don't see why you have a separate function for this
> anyways.
>
> You also have not addressed the case I pointed out where an IAC matches
> after you've programmed it but before you've entered the guest.
Basically can disable them in the dbcr0 before we do any switching out
of registers.
If an IAC is matched before we enter the guest it will be caught host
that catches it.
next prev parent reply other threads:[~2008-06-09 21:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 18:19 [PATCH] [v5] Add gdb break point support to PowerPC kvm Jerone Young
2008-06-09 20:51 ` Hollis Blanchard
2008-06-09 21:08 ` Jerone Young [this message]
2008-06-09 22:56 ` Hollis Blanchard
2008-06-09 23:56 ` Jerone Young
2008-06-10 15:12 ` Hollis Blanchard
2008-06-10 15:33 ` Jerone Young
2008-06-10 15:45 ` Hollis Blanchard
2008-06-10 15:54 ` Jerone Young
2008-06-10 16:27 ` Jerone Young
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1213045682.29739.25.camel@thinkpadL \
--to=jyoung5@us.ibm.com \
--cc=kvm-ppc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.