[LLVMbugs] [Bug 1803] New: Debug info doesn't work on x86-64
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Nov 15 14:09:29 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1803
Summary: Debug info doesn't work on x86-64
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1227)
--> (http://llvm.org/bugs/attachment.cgi?id=1227)
assembly generated by llvm-gcc with incorrect debug info
On x86-64 the generated debug info is unusable by gdb.
It works on x86-32.
$ cat p.c
int main()
{
}
$ llvm-gcc -g p.c
gdb ./a.out
GNU gdb 6.6.90.20070912-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x400434
(gdb) r
Starting program: /home/edwin/llvm-svn/llvm/a.out
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7ffff93fd000
Breakpoint 1, 0x0000000000400434 in main ()
Single stepping until exit from function main,
which has no line number information.
0x00000032d1c1db44 in __libc_start_main () from /lib/libc.so.6
--
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