]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
ARM: fiq_debugger: add support for kgdb
authorColin Cross <ccross@android.com>
Thu, 15 Mar 2012 02:23:29 +0000 (19:23 -0700)
committerArve Hjønnevåg <arve@android.com>
Wed, 20 Feb 2013 01:53:48 +0000 (17:53 -0800)
commit2222331deadb109c80a9c56ff2d8fc21ea0e0a7f
treecbafca3c48a9f45d600796c61354ccf57f7ee67d
parenta9b3ef89ae4b89633c5742f9c8d86c7f58c4fbee
ARM: fiq_debugger: add support for kgdb

Adds polling tty ops to the fiq debugger console tty, which allows
kgdb to run against an fiq debugger console.

Add a check in do_sysrq to prevent enabling kgdb from the fiq
debugger unless a flag (writable only by root) has been set. This
should make it safe to enable KGDB on a production device.

Also add a shortcut to enable the console and kgdb together, to
allow kgdb to be enabled when the shell on the console is not
responding.

Change-Id: Ifc65239ca96c9887431a6a36b9b44a539002f544
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/common/fiq_debugger.c