From ee1d76a8a89d531456d580a2185e8d4a6ee6dda8 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 10 Dec 2012 19:26:56 -0800 Subject: [PATCH] Bug 819833 (part 1) - DMD: Print PCs at the end of lines. r=jlebar. --HG-- extra : rebase_source : ce17d41f692c2babb9d7aec9dbca00ab42d10250 --- memory/replace/dmd/DMD.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/memory/replace/dmd/DMD.cpp b/memory/replace/dmd/DMD.cpp index 85be93a3563d..df934101b202 100644 --- a/memory/replace/dmd/DMD.cpp +++ b/memory/replace/dmd/DMD.cpp @@ -561,8 +561,8 @@ StackTrace::Print(const Writer& aWriter) const void* pc = mPcs[i]; PcInfo(pc, &details); if (details.function[0]) { - W(" %14p %s[%s +0x%X]\n", pc, details.function, details.library, - details.loffset); + W(" %s[%s +0x%X] %p\n", details.function, details.library, + details.loffset, pc); } } } @@ -1264,8 +1264,8 @@ FrameGroup::Print(const Writer& aWriter, uint32_t aM, uint32_t aN, astr); W(" PC is\n"); - W(" %14p %s[%s +0x%X]\n\n", mPc, details.function, details.library, - details.loffset); + W(" %s[%s +0x%X] %p\n\n", details.function, details.library, + details.loffset, mPc); } //---------------------------------------------------------------------------