Show register name in UPDATEREG log (dotnet/coreclr#9134)
authorJonghyun Park <parjong@gmail.com>
Thu, 26 Jan 2017 14:10:59 +0000 (23:10 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 26 Jan 2017 14:10:59 +0000 (15:10 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/d24162bd144b37b2b353797db846aab80bf13db1

src/coreclr/src/vm/exceptionhandling.cpp

index 055e5b2..f674fdb 100644 (file)
@@ -389,7 +389,7 @@ void ExceptionTracker::UpdateNonvolatileRegisters(CONTEXT *pContextRecord, REGDI
     do {                                                                                    \
         if (pRegDisplay->pCurrentContextPointers->reg != NULL)                              \
         {                                                                                   \
-            STRESS_LOG3(LF_GCROOTS, LL_INFO100, "Updating reg %p to %p from %p\n",          \
+            STRESS_LOG3(LF_GCROOTS, LL_INFO100, "Updating " #reg " %p to %p from %p\n",     \
                     pContextRecord->reg,                                                    \
                     *pRegDisplay->pCurrentContextPointers->reg,                             \
                     pRegDisplay->pCurrentContextPointers->reg);                             \