All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix show_regs to give a backtrace
@ 2011-08-24 17:21 Laura Abbott
  2011-08-24 17:21 ` [PATCH 1/2] arm: add dump_stack_regs to dump stack from registers Laura Abbott
  2011-08-24 17:21 ` [PATCH 2/2] process: change from __backtrace to dump_stack_regs in show_regs Laura Abbott
  0 siblings, 2 replies; 6+ messages in thread
From: Laura Abbott @ 2011-08-24 17:21 UTC (permalink / raw)
  To: linux-arm-kernel

Currently, show_regs will not give a backtrace unless frame pointer is enabled.
show_regs calls __backtrace which does not support the arm unwind tables and
returns nothing if CONFIG_FRAME_POINTER is not enabled. Having a useful
backtrace when dumping registers is helpful, so fix show_regs to call into
dump_backtrace which properly handles both the CONFIG_FRAME_POINTER and the
CONFIG_ARM_UNWIND case for backtraces.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-24 23:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24 17:21 [PATCH] Fix show_regs to give a backtrace Laura Abbott
2011-08-24 17:21 ` [PATCH 1/2] arm: add dump_stack_regs to dump stack from registers Laura Abbott
2011-08-24 17:21 ` [PATCH 2/2] process: change from __backtrace to dump_stack_regs in show_regs Laura Abbott
2011-08-24 18:57   ` Nicolas Pitre
2011-08-24 20:58     ` Laura Abbott
2011-08-24 23:27       ` Nicolas Pitre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.