On Tue, Aug 15, 2006 at 01:05:36AM +0400, Sergei Shtylyov wrote:
> Hello.
> 
> Tom Rini wrote:
> 
> >>>> It looks like arch/powerpc/kernel/kgdb.c can only compile on 64-bit 
> >>>> targets
> >>>>since kgdb_fault_setjmp() and kgdb_fault_longjmp() here contain 64-bit 
> >>>>insns. in the inline assembly which of course are not supported on 
> >>>>PPC32 (and arch/powerpc/ is a merged tree, so PPC32 support must be 
> >>>>present there). Probably, some code from arch/ppc/kernel/kgdb.c should 
> >>>>be carried over there under #ifdef? Is there plans to fix this issue?
> 
> >>>It would probably be best to #if out the 64bit sections as I believe
> >>>they can share the rest, but I'm not certain.  Patches welcomed :)
> 
> >>  Comparing with arch/ppc/kernel/kgdb.c it looks like there should be a 
> >>  lot of #ifdef's there. So, adding 32-bit support into 
> >>arch/powerpc/kernel/kgdb.c seems like a serious work. :-/
> 
> >It shouldn't be much work really.  I had 32bit pmac compiling when I
> >checked this in at first.  It's possible that 32bit pmac wasn't being
> >strict enough.  That said, I was unaware of any 52xx support for
> >arch/powerpc, but I could have simply missed it.
> 
>    We actualy need 85xx support, and 74xx as well.

My point is that 32bit arch/powerpc KGDB should be a fairly trivial
thing to bring up.

-- 
Tom Rini

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to