From 1872e04240deee7d7415a942131ee86862742dc9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 14 Jul 2005 09:14:31 +0000 Subject: [PATCH] fix addr2line output parsing (patch 1228591) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/stackwalk.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/unix/stackwalk.cpp b/src/unix/stackwalk.cpp index b8b92ef924..d5175464f7 100644 --- a/src/unix/stackwalk.cpp +++ b/src/unix/stackwalk.cpp @@ -129,9 +129,13 @@ void wxStackFrame::OnGetName() m_offset = ofs; } } - } - m_module.assign(syminfo, posOpen); + m_module.assign(syminfo, posOpen); + } + else // not in "module(funcname+offset)" format + { + m_module = syminfo; + } } void wxStackFrame::OnGetLocation()