Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libunwind Rename IP_PSEUDO_REG to RETURN_REG. Fix PP...
details: https://anonhg.NetBSD.org/src/rev/8ed7c8b649e0
branches: trunk
changeset: 327585:8ed7c8b649e0
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Mar 11 23:57:42 2014 +0000
description:
Rename IP_PSEUDO_REG to RETURN_REG. Fix PPC value. Sort.
diffstat:
sys/lib/libunwind/DwarfInstructions.hpp | 2 +-
sys/lib/libunwind/Registers.hpp | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (63 lines):
diff -r 8ebf9bc6050c -r 8ed7c8b649e0 sys/lib/libunwind/DwarfInstructions.hpp
--- a/sys/lib/libunwind/DwarfInstructions.hpp Tue Mar 11 23:55:11 2014 +0000
+++ b/sys/lib/libunwind/DwarfInstructions.hpp Tue Mar 11 23:57:42 2014 +0000
@@ -49,7 +49,7 @@
static int lastRestoreReg(const R &) { return R::LAST_RESTORE_REG; }
static bool isReturnAddressRegister(int regno, const R &) {
- return regno == R::IP_PSEUDO_REG;
+ return regno == R::RETURN_REG;
}
static pint_t getCFA(A &addressSpace,
diff -r 8ebf9bc6050c -r 8ed7c8b649e0 sys/lib/libunwind/Registers.hpp
--- a/sys/lib/libunwind/Registers.hpp Tue Mar 11 23:55:11 2014 +0000
+++ b/sys/lib/libunwind/Registers.hpp Tue Mar 11 23:57:42 2014 +0000
@@ -32,9 +32,9 @@
class Registers_x86 {
public:
enum {
+ LAST_REGISTER = REGNO_X86_EIP,
LAST_RESTORE_REG = REGNO_X86_EIP,
- IP_PSEUDO_REG = REGNO_X86_EIP,
- LAST_REGISTER = REGNO_X86_EIP,
+ RETURN_REG = REGNO_X86_EIP,
};
__dso_hidden Registers_x86();
@@ -97,9 +97,9 @@
class Registers_x86_64 {
public:
enum {
+ LAST_REGISTER = REGNO_X86_64_RIP,
LAST_RESTORE_REG = REGNO_X86_64_RIP,
- IP_PSEUDO_REG = REGNO_X86_64_RIP,
- LAST_REGISTER = REGNO_X86_64_RIP,
+ RETURN_REG = REGNO_X86_64_RIP,
};
__dso_hidden Registers_x86_64();
@@ -166,9 +166,9 @@
class Registers_ppc32 {
public:
enum {
+ LAST_REGISTER = REGNO_PPC32_V31,
LAST_RESTORE_REG = REGNO_PPC32_V31,
- IP_PSEUDO_REG = REGNO_PPC32_SRR0,
- LAST_REGISTER = REGNO_PPC32_V31,
+ RETURN_REG = REGNO_PPC32_LR,
};
__dso_hidden Registers_ppc32();
@@ -246,9 +246,9 @@
class Registers_arm32 {
public:
enum {
+ LAST_REGISTER = REGNO_ARM32_D31,
LAST_RESTORE_REG = REGNO_ARM32_SPSR,
- IP_PSEUDO_REG = REGNO_ARM32_SPSR,
- LAST_REGISTER = REGNO_ARM32_D31,
+ RETURN_REG = REGNO_ARM32_SPSR,
};
__dso_hidden Registers_arm32();
Home |
Main Index |
Thread Index |
Old Index