Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da47f4a3 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: dwarf unwinder depends on SHcompact.



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: default avatarPaul Mundt <lethal@linux-sh.org>
parent f03c4866
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -61,6 +61,7 @@ config DUMP_CODE
config DWARF_UNWINDER
config DWARF_UNWINDER
	bool "Enable the DWARF unwinder for stacktraces"
	bool "Enable the DWARF unwinder for stacktraces"
	select FRAME_POINTER
	select FRAME_POINTER
	depends on SUPERH32
	default n
	default n
	help
	help
	  Enabling this option will make stacktraces more accurate, at
	  Enabling this option will make stacktraces more accurate, at