diff options
author | kasperk81 <83082615+kasperk81@users.noreply.github.com> | 2021-06-26 23:06:51 +0000 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2021-06-29 16:48:33 -0700 |
commit | ea49408206aeff31a2bf37df33ea12ff0ce16409 (patch) | |
tree | 04bb65639ba8a06395a3aa3a542c28f47c94bead | |
parent | b09be0e56d74ae36da344de1a32f542badf22ef1 (diff) | |
download | libunwind-ea49408206aeff31a2bf37df33ea12ff0ce16409.tar.gz |
Improve multiarch condition in coredump access
-rw-r--r-- | src/coredump/_UCD_access_reg_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coredump/_UCD_access_reg_linux.c b/src/coredump/_UCD_access_reg_linux.c index 65b6b9c1..8f050c9e 100644 --- a/src/coredump/_UCD_access_reg_linux.c +++ b/src/coredump/_UCD_access_reg_linux.c @@ -57,7 +57,7 @@ _UCD_access_reg (unw_addr_space_t as, #elif defined(UNW_TARGET_S390X) if (regnum > UNW_S390X_R15) goto badreg; -#elif defined(UNW_TARGET_IA64) +#elif defined(UNW_TARGET_IA64) || defined(UNW_TARGET_HPPA) || defined(UNW_TARGET_PPC32) || defined(UNW_TARGET_PPC64) if (regnum >= ARRAY_SIZE(ui->prstatus->pr_reg)) goto badreg; #else |