From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23728 invoked by alias); 14 Jun 2010 18:29:08 -0000 Received: (qmail 23714 invoked by uid 48); 14 Jun 2010 18:29:08 -0000 Date: Mon, 14 Jun 2010 18:29:00 -0000 From: "dimabarts at yahoo dot com" To: gdb-prs@sourceware.org Message-ID: <20100614182907.11704.dimabarts@yahoo.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug gdb/11704] New: Cannot load debugging info X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00407.txt.bz2 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 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: ... 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 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: ... 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.