Re: [Mingw-w64-public] Obtaining stacktraces within a Windows application

2012-08-17 Thread Zouzou
On 16/08/12 21:34, Alex Loukissas wrote: Hi folks, It appears that with addr2line I got quite far. Unfortunately, I haven't been able to try out the libbfd option, since it appears that this library isn't included in the standard ubuntu mingw package. Good thing it's not there; see

Re: [Mingw-w64-public] Obtaining stacktraces within a Windows application

2012-08-16 Thread Alex Loukissas
Hi folks, It appears that with addr2line I got quite far. Unfortunately, I haven't been able to try out the libbfd option, since it appears that this library isn't included in the standard ubuntu mingw package. Cheers Alex On Sun, Aug 12, 2012 at 8:43 AM, Alex Loukissas a...@maginatics.com

Re: [Mingw-w64-public] Obtaining stacktraces within a Windows application

2012-08-12 Thread Vincent Torri
note that DrMinGW (http://code.google.com/p/jrfonseca/wiki/DrMingw) has certainly some code about that. Note also that i never succeeded in using DrMinGW, it always fails (i've reported my problems in thar bug tracker) Vincent Torri On Sun, Aug 12, 2012 at 9:03 AM, Vincent Torri

Re: [Mingw-w64-public] Obtaining stacktraces within a Windows application

2012-08-12 Thread Alex Loukissas
Thanks for the tips. I'll give a shot of trying what was suggested before and see how this turns out. I'll report any progress in this thread. On Sun, Aug 12, 2012 at 12:03 AM, Vincent Torri vincent.to...@gmail.comwrote: Hey On Sat, Aug 11, 2012 at 6:59 PM, Alex Loukissas a...@maginatics.com

[Mingw-w64-public] Obtaining stacktraces within a Windows application

2012-08-11 Thread Alex Loukissas
Hello, I would like to ask whether it is possible to obtain meaningful stacktraces within a Windows app built with mingw-w64. I will explain briefly my setup and what I've tried so far. I build my app on Linux using mingw-w64 into a statically linked executable, with debug info. I've tried using

Re: [Mingw-w64-public] Obtaining stacktraces within a Windows application

2012-08-11 Thread Kai Tietz
Hello, well, you have here different ways to achieve this. First thing to start about is the backtrace. You can find such sample code in our experimental tree (or at stackoverflow as you've shown). By those addresses you can either use binutils' addr2line tool to get more detailed information,