[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PPC KGDB changes and some help?


Tom Rini wrote:
> On Thu, Jan 22, 2004 at 02:46:41PM -0800, George Anzinger wrote:
> 
>>Tom Rini wrote:
>>
>>>
>>>FWIW, this is true of KGDB on all PPCs.  IIRC, so long as the serial
>>>definitions are filled out statically, the stub currently in kernel.org
>>>for PPC can do first-line-of-C already.
>>>
>>>
>>>
>>>>How about changing the code in kgdbstub to allow kgdb to be configured in 
>>>>one of the following ways:
>>>>Late kgdb - kgdb comes up after smp_init in the kernel boot sequence. 
>>>>kgdb8250 can be used with more flexibility through kernel command line 
>>>>options. One can boot a kgdb kernel without activating kgdb. Works with 
>>>>the interface chosen by kernel command line (kgdb8250 and kgdbeth for the 
>>>>moment).
>>
>>A further thought on this.  I think kgdb should take control on oops, panic 
>>and other bad news things.  This without being anthing but configured in.  
>>Thus the command line options to set up the interface, etc, should not 
>>automatically connect to gdb.
> 
> 
> *confused look* it doesn't do this already on i386?  I'm fairly certain
> that it does on PPC, regardless of the stub (since I've got this wierd
> panic happening on my testbox right now, but kgdb is kicking in..)
> 
Oh, I think it does, but I have seen code that I thought (possibly incorrectly) 
tried to connect to gdb as part of configuring the interface.  This is what I 
don't want to see.

-- 
George Anzinger   george _at_ mvista.com
High-res-timers:  http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml

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


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: