Commit afa51146 authored by Jan Möbius's avatar Jan Möbius

Increased Stack frame size on segfaults.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9192 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b075151d
......@@ -170,10 +170,10 @@ void showHelp() {
#ifndef NO_EXECINFO
void backtrace()
{
void *addresses[10];
void *addresses[20];
char **strings;
int size = backtrace(addresses, 10);
int size = backtrace(addresses, 20);
strings = backtrace_symbols(addresses, size);
std::cerr << "Stack frames: " << size << std::endl;
for(int i = 0; i < size; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment