http://llvm.org/bugs/show_bug.cgi?id=6787
devang.patel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #5 from devang.patel <[email protected]> 2010-04-12 12:11:34 CDT --- This works for me. $ ~/clean/D/Debug/bin/clang -g ~/Downloads/prog.c -o prog rajkot:tmp yash$ gdb prog ... ... (gdb) b main Breakpoint 1 at 0x100000ed6: file prog.c, line 5. (gdb) r Starting program: /private/tmp/prog Reading symbols for shared libraries +. done Breakpoint 1, main (argc=1, argv=0x7fff5fbffa88) at prog.c:5 5 for (int i = 0; i < 3; ++i) (gdb) n Current language: auto; currently minimal 7 printf("i == %d\n", (gdb) i == 0 5 for (int i = 0; i < 3; ++i) (gdb) 7 printf("i == %d\n", (gdb) i == 1 5 for (int i = 0; i < 3; ++i) (gdb) 7 printf("i == %d\n", (gdb) i == 2 5 for (int i = 0; i < 3; ++i) (gdb) 10 return 0; (gdb) 11 } (gdb) $ ~/clean/D/Debug/bin/clang --version clang version 1.5 (trunk 101039) Target: x86_64-apple-darwin10 Thread model: posix -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
