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] ext/debugger.hgs: add missing includes

To: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [patch] ext/debugger.hgs: add missing includes
From: Goncalo Gomes <Goncalo.Gomes@xxxxxxxxxxxxx>
Date: Sat, 8 May 2010 21:12:25 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Sat, 08 May 2010 13:16:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <FFDB98DC9661D3418B9EB0FF5202E46B7A803EBD9B@xxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <FFDB98DC9661D3418B9EB0FF5202E46B7A803EBD9B@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acru6dgmiMEGdsmpRNGmD5sdnl2SWwAAFNfQ
Thread-topic: [patch] ext/debugger.hgs: add missing includes
The changes below are required to build Xen 4.0rc6 from the debuggers.hg with 
enabled gdbsx support.

Cheers,
 -Goncalo.

Signed-off-by: Goncalo Gomes <Goncalo.Gomes@xxxxxxxxxxxxx>

diff -r 809b20f066fb xen/arch/x86/gdbstub.c
--- a/xen/arch/x86/gdbstub.c    Fri Mar 19 18:36:57 2010 -0700
+++ b/xen/arch/x86/gdbstub.c    Sat May 08 20:43:37 2010 +0100
@@ -20,6 +20,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 #include <asm/debugger.h>
+#include <xen/gdbstub.h>
 
 u16
 gdb_arch_signal_num(struct cpu_user_regs *regs, unsigned long cookie)
diff -r 809b20f066fb xen/arch/x86/x86_64/gdbstub.c
--- a/xen/arch/x86/x86_64/gdbstub.c     Fri Mar 19 18:36:57 2010 -0700
+++ b/xen/arch/x86/x86_64/gdbstub.c     Sat May 08 20:43:37 2010 +0100
@@ -19,6 +19,7 @@
  */
 
 #include <asm/debugger.h>
+#include <xen/gdbstub.h>
 
 #define GDB_REG64(r) gdb_write_to_packet_hex(r, sizeof(u64), ctx)
 #define GDB_REG32(r)  gdb_write_to_packet_hex(r, sizeof(u32), ctx)
diff -r 809b20f066fb xen/common/gdbstub.c
--- a/xen/common/gdbstub.c      Fri Mar 19 18:36:57 2010 -0700
+++ b/xen/common/gdbstub.c      Sat May 08 20:43:37 2010 +0100
@@ -45,6 +45,7 @@
 #include <xen/errno.h>
 #include <xen/delay.h>
 #include <asm/byteorder.h>
+#include <xen/gdbstub.h>
 
 /* Printk isn't particularly safe just after we've trapped to the
    debugger. so avoid it. */

Attachment: debuggers_build_fix.diff
Description: debuggers_build_fix.diff

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>