On Tue, Aug 22, 2006 at 11:35:38PM +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. > > Hm, it must have been 64-bit toolchain still I guess...
Nope, I don't _think_ so. But perhaps pmac is getting 64bit options passed to it, and the rest of the code is otherwise good enough to not get some 64bit stuff generated? > > It's possible that 32bit pmac wasn't being > >strict enough. > > Well, I have found out that UARTs aren't registered anywhere with > 8250_kgdb, so even that probably isn't working... Yes, but pmac KGDB doesn't do UARTs, only eth. -- 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
