Review Board 2.0.15


sim: Add support for generating back traces on errors

Review Request #3221 - Created Nov. 15, 2015 and submitted

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 11212:9726e0e72bef
---------------------------
sim: Add support for generating back traces on errors

Add functionality to generate a back trace if gem5 crashes (SIGABRT or
SIGSEGV). The current implementation uses glibc's stack traversal
support if available and stubs out the call to print_backtrace()
otherwise.

Tested on both MacOS and Linux by provoking aborts and segmentation faults. Compiled with both clang and GCC.

Issue Summary

2 0 1 1
Review request changed
Updated (Dec. 3, 2015, 4:18 p.m.)

Status: Closed (submitted)