Bug 939610: Return to printing stack walk addresses in uppercase hexidecimal rather than lowercase, since we have scripts depending on it. r=ted

This commit is contained in:
L. David Baron 2014-02-24 15:27:52 -08:00
Родитель ec9d0a481a
Коммит 91839ef80b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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);
}