microblaze: Add stack unwinder
authorSteven J. Magnani <steve@digidescorp.com>
Tue, 27 Apr 2010 17:37:54 +0000 (12:37 -0500)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:35 +0000 (10:22 +0200)
Implement intelligent backtracing by searching for stack frame creation,
and emitting only return addresses. Use print_hex_dump() to display the
entire binary kernel stack.

Limitation: MMU kernels are not currently able to trace beyond a system trap
(interrupt, syscall, etc.). It is the intent of this patch to provide
infrastructure that can be extended to add this capability later.

Changes from V1:
* Removed checks in find_frame_creation() that prevented location of the frame
  creation instruction in heavily optimized code
* Various formatting/commenting/file location tweaks per review comments
* Dropped Kconfig option to enable STACKTRACE as something logically separate

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>

No differences found