diff options
author | Christopher Ferris <cferris@google.com> | 2014-01-14 01:18:20 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-01-14 01:18:20 +0000 |
commit | 688701990db1aef2d7dbe0ccdc4f12c2dd5f51a8 (patch) | |
tree | 1d54b47650638f38f37a914abb50ab52a6852b69 /libbacktrace/UnwindCurrent.cpp | |
parent | 105f6b6686ae1b2f6ae8ae81548cceb313fb2cee (diff) | |
parent | 20303f856f1f1cdb5af58af0b116b8c598f0ea5c (diff) | |
download | system_core-688701990db1aef2d7dbe0ccdc4f12c2dd5f51a8.zip system_core-688701990db1aef2d7dbe0ccdc4f12c2dd5f51a8.tar.gz system_core-688701990db1aef2d7dbe0ccdc4f12c2dd5f51a8.tar.bz2 |
Merge "Next phase of the move, reformat use C++ features."
Diffstat (limited to 'libbacktrace/UnwindCurrent.cpp')
-rw-r--r-- | libbacktrace/UnwindCurrent.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbacktrace/UnwindCurrent.cpp b/libbacktrace/UnwindCurrent.cpp index 94a82fe..6cdbc42 100644 --- a/libbacktrace/UnwindCurrent.cpp +++ b/libbacktrace/UnwindCurrent.cpp @@ -108,6 +108,7 @@ bool UnwindCurrent::UnwindFromContext(size_t num_ignore_frames, bool resolve) { if (num_ignore_frames == 0) { size_t num_frames = backtrace->num_frames; backtrace_frame_data_t* frame = &backtrace->frames[num_frames]; + frame->num = num_frames; frame->pc = static_cast<uintptr_t>(pc); frame->sp = static_cast<uintptr_t>(sp); frame->stack_size = 0; |