]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: dwarf unwinder depends on SHcompact.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 30 Mar 2012 10:31:22 +0000 (19:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 30 Mar 2012 10:31:22 +0000 (19:31 +0900)
Presently there's no SHmedia support plugged in for the dwarf unwinder.
While it's trivial to provide an SHmedia version of dwarf_read_arch_reg(),
the general sh64 case is more complicated in that the TLB miss handler
uses a locked down set of registers for optimization (including the frame
pointer) which we need for the unwind table generation.

While freeing up the frame pointer for use in the TLB miss handler is
reasonably straightforward, it's still more trouble than it's worth, so
we simply restrict the unwinder to 32-bit for now.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig.debug

index c1d5a820b1aa3f64e72475203515b6a4303c1c0f..5f2bb4242c0f78465cbaea70cbb43d5c7f66d91c 100644 (file)
@@ -61,6 +61,7 @@ config DUMP_CODE
 config DWARF_UNWINDER
        bool "Enable the DWARF unwinder for stacktraces"
        select FRAME_POINTER
+       depends on SUPERH32
        default n
        help
          Enabling this option will make stacktraces more accurate, at