From 91839ef80b914263e3c6d058cf9f60aad702209e Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Mon, 24 Feb 2014 15:27:52 -0800 Subject: [PATCH] Bug 939610: Return to printing stack walk addresses in uppercase hexidecimal rather than lowercase, since we have scripts depending on it. r=ted --- xpcom/base/nsStackWalk.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xpcom/base/nsStackWalk.cpp b/xpcom/base/nsStackWalk.cpp index 9f4bebb43bd5..bb0e15b5cd9e 100644 --- a/xpcom/base/nsStackWalk.cpp +++ b/xpcom/base/nsStackWalk.cpp @@ -1340,11 +1340,11 @@ NS_FormatCodeAddressDetails(void *aPC, const nsCodeAddressDetails *aDetails, if (!aDetails->library[0]) { snprintf(aBuffer, aBufferSize, "UNKNOWN %p\n", aPC); } else if (!aDetails->function[0]) { - snprintf(aBuffer, aBufferSize, "UNKNOWN [%s +0x%08" PRIxPTR "]\n", + snprintf(aBuffer, aBufferSize, "UNKNOWN [%s +0x%08" PRIXPTR "]\n", aDetails->library, aDetails->loffset); } else { - snprintf(aBuffer, aBufferSize, "%s+0x%08" PRIxPTR - " [%s +0x%08" PRIxPTR "]\n", + snprintf(aBuffer, aBufferSize, "%s+0x%08" PRIXPTR + " [%s +0x%08" PRIXPTR "]\n", aDetails->function, aDetails->foffset, aDetails->library, aDetails->loffset); }