summaryrefslogtreecommitdiffstats
path: root/src/usr/dump/dumpCollect.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/dump/dumpCollect.C')
-rw-r--r--src/usr/dump/dumpCollect.C5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/dump/dumpCollect.C b/src/usr/dump/dumpCollect.C
index 577354cd4..970231213 100644
--- a/src/usr/dump/dumpCollect.C
+++ b/src/usr/dump/dumpCollect.C
@@ -539,8 +539,8 @@ errlHndl_t copyArchitectedRegs(void)
hostRegData->reg.num = sbeRegData->regNum;
hostRegData->regVal = sbeRegData->regVal;
- // If thread version is 2+, replace reg numbers with names
- if (procTableEntry->threadRegVersion >= 2)
+ // If HOST type is PHYP replace register number with strings
+ if (TARGETING::is_phyp_load())
{
replaceRegNumWithName(hostRegData);
}
@@ -574,6 +574,7 @@ errlHndl_t copyArchitectedRegs(void)
}
}
// Update Process Dump Area tuple
+ procTableEntry->threadRegVersion = REG_DUMP_HDAT_STRUCT_VER;
procTableEntry->capArrayAddr = procTableEntry->dstArrayAddr;
// Update the PDA Table Entries to Attribute to be fetched in istep 21
OpenPOWER on IntegriCloud