Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libunwind Remove redundant setIP call overwritten a ...
details: https://anonhg.NetBSD.org/src/rev/fbc7e2f6c383
branches: trunk
changeset: 324178:fbc7e2f6c383
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jul 17 18:58:58 2018 +0000
description:
Remove redundant setIP call overwritten a few lines later.
diffstat:
sys/lib/libunwind/DwarfInstructions.hpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r e4646fea4fa6 -r fbc7e2f6c383 sys/lib/libunwind/DwarfInstructions.hpp
--- a/sys/lib/libunwind/DwarfInstructions.hpp Tue Jul 17 18:58:10 2018 +0000
+++ b/sys/lib/libunwind/DwarfInstructions.hpp Tue Jul 17 18:58:58 2018 +0000
@@ -153,7 +153,6 @@
// The CFA is defined as the stack pointer at the call site.
// Therefore the SP is restored by setting it to the CFA.
newRegisters.setSP(cfa);
- newRegisters.setIP(returnAddress + R::RETURN_OFFSET);
returnAddress += R::RETURN_OFFSET;
returnAddress &= ~R::RETURN_MASK;
newRegisters.setIP(returnAddress);
Home |
Main Index |
Thread Index |
Old Index