On Tue, 23 Dec 2014 18:08:29 +0530 Kiran Raparthy <kiran.ku...@linaro.org> 
wrote:

> From: Colin Cross <ccr...@android.com>
> 
> debug: prevent entering debug mode on panic/exception.
> 
> On non-developer devices, kgdb prevents the device from rebooting
> after a panic.
> 
> Incase of panics and exceptions, to allow the device to reboot, prevent
> entering debug mode to avoid getting stuck waiting for the user to interact
> with debugger.
> 
> To avoid entering the debugger on panic/exception without any extra
> configuration, panic_timeout is being used which can be set via
> /proc/sys/kernel/panic at run time and CONFIG_PANIC_TIMEOUT sets the default
> value.
> 
> ...
>

hm.  Why overload the meaning of panic_timeout in this fashion?  If
someone is using kgdb and has panic_timeout set, they'll get quiet a
surprise.

Would it be cleaner/clearer to add some new standalone control for
this?  One which is only present if CONFIG_KGDB.


We appear to have forgotten to document panic_timeout.  Sigh.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to