library for logging call stack at runtime(windows/linux)

I need a way to record the function stack trace in a debug log to help me diagnose a defect. The problem is that I need to implement this on Windows and Linux using C++.

I think this will help you …

[Google Breakpad]( handles all of this. if you want to get crash dumps back from the field.