aboutsummaryrefslogtreecommitdiff
path: root/src/tools/mac/crash_report/crash_report.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/mac/crash_report/crash_report.mm')
-rw-r--r--src/tools/mac/crash_report/crash_report.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/mac/crash_report/crash_report.mm b/src/tools/mac/crash_report/crash_report.mm
index 7171e3f9..c291c13d 100644
--- a/src/tools/mac/crash_report/crash_report.mm
+++ b/src/tools/mac/crash_report/crash_report.mm
@@ -99,6 +99,12 @@ static void PrintStack(const CallStack *stack, const string &cpu) {
int maxStr = 20;
buffer[maxStr] = 0;
printf("%-*s", maxStr, buffer);
+
+ strcpy(buffer, module->version().c_str());
+ buffer[maxStr] = 0;
+
+ printf("%-*s",maxStr, buffer);
+
u_int64_t instruction = frame->instruction;
// PPC only: Adjust the instruction to match that of Crash reporter. The