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] Enhanced debugging for assembler files

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Enhanced debugging for assembler files
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Thu, 30 Mar 2006 21:56:31 -0500
Delivery-date: Fri, 31 Mar 2006 02:57:40 +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
This patch enhances how gdb handles assembler and has no performance issues and no size issues after striping.
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
diff -r 8a8361994904 xen/Rules.mk
--- a/xen/Rules.mk      Fri Mar 31 00:26:07 2006 +0100
+++ b/xen/Rules.mk      Thu Mar 30 20:48:52 2006 -0500
@@ -55,7 +55,7 @@ CFLAGS-y               += -DMAX_PHYS_CPU
CFLAGS-y               += -DMAX_PHYS_CPUS=$(max_phys_cpus)
endif
-AFLAGS-y               += -D__ASSEMBLY__
+AFLAGS-y               += -D__ASSEMBLY__ -Wa,-gdwarf2
ALL_OBJS := $(ALL_OBJS-y)
CFLAGS   := $(strip $(CFLAGS) $(CFLAGS-y))


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>