[LLVMbugs] [Bug 3223] Debug information gives variables the wrong types
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Dec 18 12:46:29 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3223
Jeffrey Yasskin <jyasskin at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #4 from Jeffrey Yasskin <jyasskin at google.com> 2008-12-18 14:46:20 ---
This is better, but not fixed. After syncing llvm-gcc to head, gdb output on
the same test program follows:
(gdb) b main
Breakpoint 1 at 0x400438: file bad_types.c, line 2.
(gdb) run
Starting program: /home/jyasskin/tmp/bad_types
Breakpoint 1, main () at bad_types.c:2
2 char* ptr = "Hello";
(gdb) n
3 int i = 2;
(gdb) n
4 int arr[] = {1,2,3,4};
(gdb) n
5 }
(gdb) p ptr
$1 = (void *) 0x400570
(gdb) p i
$2 = 2
(gdb) p arr
$3 = {1, 2, 3, 4}
(gdb)
The pointer's type is still lost.
--
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.
More information about the llvm-bugs
mailing list