Bug 819833 (part 1) - DMD: Print PCs at the end of lines. r=jlebar.

--HG--
extra : rebase_source : ce17d41f692c2babb9d7aec9dbca00ab42d10250
This commit is contained in:
Nicholas Nethercote 2012-12-10 19:26:56 -08:00
parent 551b1dede5
commit ee1d76a8a8

View File

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