public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "dimabarts at yahoo dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/11704] New: Cannot load debugging info Date: Mon, 14 Jun 2010 18:29:00 -0000 [thread overview] Message-ID: <20100614182907.11704.dimabarts@yahoo.com> (raw) gdb doesn't load debugging info. Here is my session: % cc -g -c hello.c % cc hello.o -o hello % ~/gdb-7.1/gdb/gdb hello GNU gdb (GDB) 7.1 Copyright (C) 2010 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 "sparc-sun-solaris2.10". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /export/home/dbarts/C/hello...(no debugging symbols found)...done. Trying symbol-file hello.o doesn't work either However when I compile and link in the same move, everything suddenly works: % cc -g hello.c -o hello % ~/gdb-7.1/gdb/gdb hello GNU gdb (GDB) 7.1 Copyright (C) 2010 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 "sparc-sun-solaris2.10". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /export/home/dbarts/C/hello...done. The same happens with version 6.8. Both were built with the Sun compiler Sun C 5.5. -- Summary: Cannot load debugging info Product: gdb Version: 7.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned at sourceware dot org ReportedBy: dimabarts at yahoo dot com CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11704 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next reply other threads:[~2010-06-14 18:29 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-06-14 18:29 dimabarts at yahoo dot com [this message] 2010-06-14 20:58 ` [Bug gdb/11704] " tromey at redhat dot com 2010-06-14 21:22 ` dimabarts at yahoo dot com 2010-06-15 21:46 ` tromey at redhat dot com 2010-06-16 0:35 ` dimabarts at yahoo dot com 2010-06-16 17:38 ` dimabarts at yahoo dot com 2010-06-17 17:03 ` tromey at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100614182907.11704.dimabarts@yahoo.com \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).