commit | 66a4909a3d4d684f7a102f4d4d2ba8ae8c66d786 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu Apr 29 00:31:36 2010 -0400 |
committer | Mike Frysinger <vapier@gentoo.org> | Mon Jul 05 04:18:18 2010 -0400 |
tree | 1a585944dd5c648748d82b5883f90552a2493ae8 | |
parent | 54841ab50c20d6fa6c9cc3eb826989da3a22d934 [diff] |
Blackfin: clean up trace buffer handling when crashing Avoid banging on the trace MMRs when debugging is disabled, avoid calling the funcs multiple times in a row, disable the trace buffer earlier in the exception handler to avoid eating more user entries, and dump the buffer before calling the kgdb hook. This way we maximize useful debugging info up front rather than needing external tools (like gdb/serial/etc...). Signed-off-by: Mike Frysinger <vapier@gentoo.org>