From: Tom Rini <trini@kernel.crashing.org>
To: George Anzinger <george@mvista.com>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>,
Pavel Machek <pavel@suse.cz>,
amit@av.mvista.com, kgdb-bugreport@lists.sourceforge.net
Subject: Re: [Kgdb-bugreport] [KGDB PATCH][1/7] Add / use kernel/Kconfig.kgdb
Date: Fri, 27 Feb 2004 15:39:01 -0700 [thread overview]
Message-ID: <20040227223901.GK1052@smtp.west.cox.net> (raw)
In-Reply-To: <403FC521.7040508@mvista.com>
On Fri, Feb 27, 2004 at 02:30:57PM -0800, George Anzinger wrote:
> Comments below...
I'm going to set aside some of the comments, simply because I'm not
going to change behavior / content right now, we can do that afterwards.
[snip]
> >+choice
> >+ depends on KGDB_8250 || PPC_SIMPLE_SERIAL
> >+ prompt "Debug serial port BAUD"
> >+ default KGDB_115200BAUD
> >+ help
> >+ Gdb and the kernel stub need to agree on the baud rate to be
> >+ used. Some systems (x86 family at this writing) allow this to
> >+ be configured.
>
> Should this depend on the archs that can use it?
The help is wrong, that's all, it's not arch-dependant, it's driver
dependant.
> >+config KGDB_IRQ
> >+ int "IRQ of the debug serial port"
> >+ depends on !KGDB_SIMPLE_SERIAL && (KGDB_8250 || PPC_SIMPLE_SERIAL)
> >+ default 4
> >+ help
> >+ This is the irq for the debug port. If everything is working
> >+ correctly and the kernel has interrupts on a control C to the
> >+ port should cause a break into the kernel debug stub.
>
> I think setserial will also spit this out.
And of course, ^C isn't needed now too.
> >+config KGDB_THREAD
> >+ bool "KGDB: Thread analysis"
> >+ depends on KGDB
> >+ help
> >+ With thread analysis enabled, gdb can talk to kgdb stub to list
> >+ threads and to get stack trace for a thread. This option also
> >enables
> >+ some code which helps gdb get exact status of thread. Thread
> >analysis
> >+ adds some overhead to schedule and down functions. You can disable
> >+ this option if you do not want to compromise on speed.
>
> Lets remove the overhead and eliminate the need for this option in favor of
> always having threads. Works in the mm kgdb...
Once it's clean, perhaps.
> >+config KGDB_CONSOLE
> >+ bool "KGDB: Console messages through gdb"
> >+ depends on KGDB
> >+ help
> >+ If you say Y here, console messages will appear through gdb.
> >+ Other consoles such as tty or ttyS will continue to work as usual.
>
> Might want to warn them of the need to connect prior to the first message
> from the kernel....
There is no such need.
--
Tom Rini
http://gate.crashing.org/~trini/
next prev parent reply other threads:[~2004-02-27 22:39 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-27 21:23 Tom Rini
2004-02-27 21:25 ` [KGDB PATCH][2/7] Serial updates, take 2 Tom Rini
2004-02-27 21:32 ` [KGDB PATCH][3/7] SysRq-G Tom Rini
2004-02-27 21:40 ` [KGDB PATCH][4/7] Fix x86_64 hooks Tom Rini
2004-02-27 21:46 ` [KGDB PATCH][5/7] Fix ppc32 hooks Tom Rini
2004-02-27 21:52 ` [KGDB PATCH][6/7] KGDBOE fixes Tom Rini
2004-02-27 21:54 ` [KGDB PATCH][7/7] Move debugger_entry() Tom Rini
2004-02-27 22:53 ` [Kgdb-bugreport] " George Anzinger
2004-02-27 23:08 ` Tom Rini
2004-03-01 10:08 ` Amit S. Kale
2004-03-03 1:08 ` George Anzinger
2004-03-03 5:45 ` Amit S. Kale
2004-03-11 21:24 ` George Anzinger
2004-03-11 22:27 ` Tom Rini
2004-03-11 22:49 ` George Anzinger
2004-03-11 22:58 ` Tom Rini
2004-03-12 4:42 ` Amit S. Kale
2004-03-12 15:11 ` Tom Rini
2004-03-01 10:42 ` [KGDB PATCH][6/7] KGDBOE fixes Amit S. Kale
2004-03-01 12:31 ` [KGDB PATCH][5/7] Fix ppc32 hooks Amit S. Kale
2004-03-01 12:33 ` [KGDB PATCH][4/7] Fix x86_64 hooks Amit S. Kale
2004-02-27 22:49 ` [Kgdb-bugreport] [KGDB PATCH][3/7] SysRq-G George Anzinger
2004-03-01 10:05 ` Amit S. Kale
2004-02-27 22:44 ` [Kgdb-bugreport] [KGDB PATCH][2/7] Serial updates, take 2 George Anzinger
2004-02-27 23:11 ` Tom Rini
2004-02-27 23:53 ` George Anzinger
2004-03-01 15:28 ` Tom Rini
2004-03-02 11:36 ` Amit S. Kale
2004-03-02 15:04 ` Tom Rini
2004-02-27 22:30 ` [Kgdb-bugreport] [KGDB PATCH][1/7] Add / use kernel/Kconfig.kgdb George Anzinger
2004-02-27 22:39 ` Tom Rini [this message]
2004-02-27 23:50 ` Pavel Machek
2004-02-28 1:08 ` George Anzinger
2004-03-01 9:24 ` Amit S. Kale
2004-03-02 21:38 ` George Anzinger
2004-03-03 5:30 ` Amit S. Kale
2004-03-04 0:15 ` George Anzinger
2004-03-01 9:28 ` Amit S. Kale
2004-03-02 11:39 ` Amit S. Kale
2004-03-02 15:05 ` Tom Rini
2004-03-02 22:23 ` Pavel Machek
2004-03-02 22:34 ` Tom Rini
2004-03-02 22:35 ` Pavel Machek
2004-03-03 7:54 ` Amit S. Kale
2004-03-03 22:54 [Kgdb-bugreport] " Jim Houston
2004-03-03 23:52 ` George Anzinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040227223901.GK1052@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=amit@av.mvista.com \
--cc=george@mvista.com \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®