Re: 2.6.23-rc6-mm1 powerpc - kgdb is broken [Resending PATCH]

From: Kamalesh Babulal
Date: Fri Sep 28 2007 - 08:28:39 EST


Thomas Gleixner wrote:
> On Fri, 2007-09-28 at 16:07 +0530, Kamalesh Babulal wrote:
>
>> The kgdb is also broken with 2.6.23-rc8-mm2 on the powerpc .
>> The below patch disables the kgdb from getting compiled over
>> powerpc platform.
>>
>> Signed-off-by : Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
>> ---
>>
>> --- linux-2.6.23-rc8/lib/Kconfig.kgdb 2007-09-28 06:33:37.000000000 +0530
>> +++ linux-2.6.23-rc8/lib/~Kconfig.kgdb 2007-09-28 23:48:33.000000000 +0530
>> @@ -14,7 +14,7 @@ config KGDB
>> bool "KGDB: kernel debugging with remote gdb"
>> select WANT_EXTRA_DEBUG_INFORMATION
>> select KGDB_ARCH_HAS_SHADOW_INFO if X86_64
>> - depends on DEBUG_KERNEL && (ARM || X86 || MIPS || (SUPERH && !SUPERH64) || IA64 || PPC)
>> + depends on DEBUG_KERNEL && (ARM || X86 || MIPS || (SUPERH && !SUPERH64) || IA64 || !PPC)
>>
>
> This enables the KGDB config for _ALL_ platforms except powerpc.
>
> Just remove PPC completely.
>
> tglx
>
Thanks thomas for the suggestion, resending the patch.

Signed-off-by : Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
---

--- linux-2.6.23-rc8/lib/Kconfig.kgdb 2007-09-28 17:46:55.000000000 +0530
+++ linux-2.6.23-rc8/lib/~Kconfig.kgdb 2007-09-28 17:51:43.000000000 +0530
@@ -14,7 +14,7 @@ config KGDB
bool "KGDB: kernel debugging with remote gdb"
select WANT_EXTRA_DEBUG_INFORMATION
select KGDB_ARCH_HAS_SHADOW_INFO if X86_64
- depends on DEBUG_KERNEL && (ARM || X86 || MIPS || (SUPERH && !SUPERH64) || IA64 || PPC)
+ depends on DEBUG_KERNEL && (ARM || X86 || MIPS || (SUPERH && !SUPERH64) || IA64)
help
If you say Y here, it will be possible to remotely debug the
kernel using gdb. Documentation of kernel debugger is available

--

Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/