Improve CYGWIN bactrace description

This commit is contained in:
Maxime Coste 2015-05-30 12:40:24 +01:00
parent d8802e5f01
commit c61c76061f

View File

@ -43,7 +43,7 @@ String Backtrace::desc() const
for (int i = 0; i < num_frames; ++i) for (int i = 0; i < num_frames; ++i)
{ {
char addr[20]; char addr[20];
snprintf(addr, 20, "0x%p", stackframes[i]); snprintf(addr, 20, "0x%p\n", stackframes[i]);
res += addr; res += addr;
} }
return res; return res;