[cfe-dev] An executable produced by clang can not be debuggedwithgdb under Windows

Konstantin Tokarev annulen at yandex.ru
Thu Oct 25 10:21:07 PDT 2012



25.10.2012, 11:25, "fiveight" <fiveight at tom.com>:
> Nikola Smiljanic!
>
>         I have get mingw 4.6.2 and try it with Clang 3.2 <trunk 166546>.
>
>         I build Clang with VS2008, and compile main.c with "clang.exe -target i386-pc-mingw32 -g main.c -o main.exe".
>
>         But when I debug main.exe by GDB 6.8, I still get info "DW_FORM_strp pointing outside of .debug_str section".

You probably need newer gdb.

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list