author | Colin Cross <ccross@android.com> | |
Thu, 15 Mar 2012 02:23:29 +0000 (19:23 -0700) | ||
committer | Arve Hjønnevåg <arve@android.com> | |
Wed, 20 Feb 2013 01:53:48 +0000 (17:53 -0800) | ||
commit | 2222331deadb109c80a9c56ff2d8fc21ea0e0a7f | |
tree | cbafca3c48a9f45d600796c61354ccf57f7ee67d | tree | snapshot (tar.xz tar.gz zip) |
parent | a9b3ef89ae4b89633c5742f9c8d86c7f58c4fbee | commit | diff |
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>
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 | diff | blob | history |