An executable produced by clang can not be debuggedwithgdb under Windows

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".

  http://llvm.org/bugs/show_bug.cgi?id=13636 bug report refers to the same problem.

  Does this bug will be fixed in Clang 3.2 release?

======= 2012-10-24 12:34:04 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======

You probably need newer gdb.