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.
Well, the first thing that tripped me is the difference in the
trap-to-signal translation tables. It was not easy to determine what CPU
family the one under #else in arch/ppc/kernel/kgdb.c was matching to...
WBR, Sergei
-------------------------------------------------------------------------
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