aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-06-07 14:53:59 -0500
committerErik Schnetter <schnetter@gmail.com>2012-06-07 14:53:59 -0500
commita4d8c3349c1563a7ec9ccde938d08bad6d189f41 (patch)
tree7b5fe698059160b9b060aa46ea11aeedac00bb9d
parentfa7702ee8ed73aece0c797614fb5ae58084bbfc4 (diff)
Carpet: Add short instructions to backtraces
-rw-r--r--Carpet/CarpetLib/src/backtrace.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/backtrace.cc b/Carpet/CarpetLib/src/backtrace.cc
index dc7c76812..fbac6e5c8 100644
--- a/Carpet/CarpetLib/src/backtrace.cc
+++ b/Carpet/CarpetLib/src/backtrace.cc
@@ -500,6 +500,10 @@ namespace CarpetLib {
cerr << "Writing backtrace to " << filename << endl;
myfile.open(filename.c_str());
generate_backtrace(myfile);
+ myfile << "\n"
+ << "The hexadecimal addresses in this backtrace can also be interpreted\n"
+ << "with a debugger (e.g. gdb), or with the 'addr2line' (or 'gaddr2line')\n"
+ << "command line tool.\n";
myfile.close();
}