From 16bef44e5d342c3bfe3f7070b09ba989d3a8e993 Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Fri, 29 Aug 2014 15:03:56 -0700 Subject: [PATCH] - print header message --- src/libCom/osi/execinfoStackTrace.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libCom/osi/execinfoStackTrace.c b/src/libCom/osi/execinfoStackTrace.c index 7888196de..a9393161a 100644 --- a/src/libCom/osi/execinfoStackTrace.c +++ b/src/libCom/osi/execinfoStackTrace.c @@ -590,6 +590,8 @@ char **bts; #endif int i,n; + errlogPrintf("Dumping a stack trace:\n"); + errlogFlush(); if ( ! (buf = malloc(sizeof(*buf) * MAXDEPTH)) ) { @@ -624,6 +626,8 @@ int i,n; } #endif + errlogPrintf("\n"); + errlogFlush(); free(buf);