Fix 'samples / frames' typo in PBD::stacktrace()
This commit is contained in:
parent
9712501139
commit
a4449aa0f6
@ -114,7 +114,7 @@ PBD::stacktrace (std::ostream& out, int)
|
|||||||
|
|
||||||
for (i = 0; i < frames; ++i) {
|
for (i = 0; i < frames; ++i) {
|
||||||
SymFromAddr (process, (DWORD64)(stack[i]), 0, symbol);
|
SymFromAddr (process, (DWORD64)(stack[i]), 0, symbol);
|
||||||
out << string_compose ("%1: %2 - %3\n", samples - i - 1, symbol->Name, symbol->Address);
|
out << string_compose ("%1: %2 - %3\n", frames - i - 1, symbol->Name, symbol->Address);
|
||||||
}
|
}
|
||||||
|
|
||||||
out.flush ();
|
out.flush ();
|
||||||
|
Loading…
Reference in New Issue
Block a user