WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH][HVM] enable setting of soft breakpoints from gdb

To: <Keir.Fraser@xxxxxxxxxxxx>, "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][HVM] enable setting of soft breakpoints from gdb
From: "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>
Date: Thu, 30 Mar 2006 19:41:37 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 31 Mar 2006 03:43:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZUdQO0lsWa80tBSS+tYz5eJ+80aQ==
Thread-topic: [PATCH][HVM] enable setting of soft breakpoints from gdb
Hi Keir, Ian,

   Attached is the patch to
1. Enable the setting and trapping of breakpoints for hvm guest.
2. Catch Ctrl-C for gdbserver and let gdb break from continue command.

Please comment or Apply.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@xxxxxxxxx>

Patch diffstat:
 tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/server.c |   37
+++++++++-
 tools/libxc/xc_ptrace.c                                        |   10
++
 xen/arch/x86/hvm/vmx/vmx.c                                     |    8
++
 xen/include/asm-x86/hvm/support.h                              |    1
 4 files changed, 52 insertions(+), 4 deletions(-)

Thanks & Regards,
Nitin
------------------------------------------------------------------------
-----------
Open Source Technology Center, Intel Corp

Attachment: gdbserver_set_breakpoints_ctrl_c_handling.patch
Description: gdbserver_set_breakpoints_ctrl_c_handling.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][HVM] enable setting of soft breakpoints from gdb, Kamble, Nitin A <=