Re: [PATCH] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG

2006-10-04 Thread Jimi Xenidis

I think hollis nailed correctly, does it work for everyone?
# HG changeset patch
# User Hollis Blanchard [EMAIL PROTECTED]
# Node ID c3312bbd598a50b3c48955a8f4c9dba6330fc7d8
# Parent  d1f6d0f820d890ac6075f47ad1ba6e38012167b4
[POWERPC][XEN] Move gmfn_to_mfn() from page.h to mm.h to avoid  
recursive header dependencies.

Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]

-JX
On Oct 4, 2006, at 12:50 AM, Tony Breeds wrote:


On Tue, Oct 03, 2006 at 02:56:14PM -0400, Amos Waterland wrote:


I'm not positive of this, but I'm pretty sure that this is caused by
improper dependency checking.  I suspect that you changed from
debug=n to debug=y and got this.  I'd suggest doing a `make clean'  
and

trying again without your patch.


I came accross the same probelm with a clean build.  The patch  
below fixes it

for me.

Reorder includes to help the complier and avoid redundat definition  
of __trap_to_gdb.


Signed-off-by: Tony Breeds [EMAIL PROTECTED]

---
 xen/arch/powerpc/gdbstub.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff -r d1374d869111 xen/arch/powerpc/gdbstub.c
--- a/xen/arch/powerpc/gdbstub.cWed Oct 04 13:44:07 2006 +1000
+++ b/xen/arch/powerpc/gdbstub.cWed Oct 04 14:46:07 2006 +1000
@@ -20,12 +20,12 @@

 #include xen/types.h
 #include xen/lib.h
-#include xen/gdbstub.h
 #include public/xen.h
 #include asm/msr.h
 #include asm/bitops.h
 #include asm/cache.h
 #include asm/debugger.h
+#include xen/gdbstub.h
 #include asm/processor.h

 asm(.globl trap_instruction\n

Yours Tony

   linux.conf.au   http://linux.conf.au/ || http:// 
lca2007.linux.org.au/

   Jan 15-20 2007  The Australian Linux Technical Conference!


___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel



___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel


Re: [PATCH] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG

2006-10-04 Thread Tony Breeds
On Wed, Oct 04, 2006 at 07:36:08AM -0400, Jimi Xenidis wrote:

 I think hollis nailed correctly, does it work for everyone?

Works for me.

Yours Tony

   linux.conf.au   http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007  The Australian Linux Technical Conference!


___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel


Re: [PATCH] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG

2006-10-04 Thread Amos Waterland
On Thu, Oct 05, 2006 at 01:52:39PM +1000, Tony Breeds wrote:
 On Wed, Oct 04, 2006 at 07:36:08AM -0400, Jimi Xenidis wrote:
  I think hollis nailed correctly, does it work for everyone?
 
 Works for me.

Did you try building with debug=y, then with debug=n, with no
intervening `make clean'?


___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel


Re: [PATCH] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG

2006-10-04 Thread Tony Breeds
On Wed, Oct 04, 2006 at 11:57:45PM -0400, Amos Waterland wrote:
 
 Did you try building with debug=y, then with debug=n, with no
 intervening `make clean'?

Yup.

[EMAIL PROTECTED]:~/Xen/xenppc-unstable.hg.working$ history | egrep dist-xen
snip Older stuff
  562  make clean; PATH=/usr/bin:/bin make dist-xen
  563  make clean; PATH=/usr/bin:/bin make debug=y dist-xen
  564  make clean; PATH=/usr/bin:/bin make debug=y crash_debug=y dist-xen

where xenppc-unstable.hg.working is 1b759b2522cd tip

Yours Tony

   linux.conf.au   http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007  The Australian Linux Technical Conference!


___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel


[PATCH] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG

2006-10-03 Thread Tony Breeds
On Tue, Oct 03, 2006 at 02:56:14PM -0400, Amos Waterland wrote:
 
 I'm not positive of this, but I'm pretty sure that this is caused by
 improper dependency checking.  I suspect that you changed from 
 debug=n to debug=y and got this.  I'd suggest doing a `make clean' and
 trying again without your patch. 

I came accross the same probelm with a clean build.  The patch below fixes it
for me.

Reorder includes to help the complier and avoid redundat definition of 
__trap_to_gdb.

Signed-off-by: Tony Breeds [EMAIL PROTECTED]

---
 xen/arch/powerpc/gdbstub.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff -r d1374d869111 xen/arch/powerpc/gdbstub.c
--- a/xen/arch/powerpc/gdbstub.cWed Oct 04 13:44:07 2006 +1000
+++ b/xen/arch/powerpc/gdbstub.cWed Oct 04 14:46:07 2006 +1000
@@ -20,12 +20,12 @@
 
 #include xen/types.h
 #include xen/lib.h
-#include xen/gdbstub.h
 #include public/xen.h
 #include asm/msr.h
 #include asm/bitops.h
 #include asm/cache.h
 #include asm/debugger.h
+#include xen/gdbstub.h
 #include asm/processor.h
 
 asm(.globl trap_instruction\n

Yours Tony

   linux.conf.au   http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007  The Australian Linux Technical Conference!


___
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel