commit | 421b541110b20ccff1a7ff3245439cb24efe9812 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Fri Nov 06 17:23:33 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Fri Nov 06 17:23:33 2009 +0900 |
tree | 1a03b8e813e6e0036b83575c1e92993c838d7155 | |
parent | 345e5a7672f561b539b3249cbe437b8d6595ab1b [diff] |
sh: unwinder: Fix up invalid PC refetch in dwarf unwinder. The dwarf unwinder presently attempts to provide a sane PC value if none is provided, however the logic is broken and cases where a previous valid dwarf frame exists along with a bogus PC value can still proceed. This fixes up the test and prevents the unwinder from blowing up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>