From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6692 invoked by alias); 3 Aug 2009 16:53:50 -0000 Received: (qmail 6678 invoked by uid 22791); 3 Aug 2009 16:53:49 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Aug 2009 16:53:40 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73Grcoe024938; Mon, 3 Aug 2009 12:53:38 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73GraSp013748; Mon, 3 Aug 2009 12:53:37 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Grain029370; Mon, 3 Aug 2009 12:53:36 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id E1CEF3784CE; Mon, 3 Aug 2009 10:53:35 -0600 (MDT) To: kceiwH Cc: gdb@sourceware.org Subject: Re: errors in GDB reading symbols References: <97234C41-9CA5-4A2C-89BA-6B54256D8B81@gmail.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Mon, 03 Aug 2009 16:53:00 -0000 In-Reply-To: <97234C41-9CA5-4A2C-89BA-6B54256D8B81@gmail.com> (kceiwh@gmail.com's message of "Sat\, 1 Aug 2009 17\:38\:15 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00003.txt.bz2 >>>>> ">" == kceiwH writes: >> I try to write a program to convert a line number of the source code >> to the corresponding memory address. The program will link to libgdb, >> libbfd, libiberty, libopcodes, which are generated when you compile >> GDB. I think we would prefer that you not use libgdb. Nobody has worked on turning gdb into a library in many years. What you see in the tree is not even the minimum necessary to get that to work. I'd like to propose that we get rid of libgdb.a entirely. I think all it does is slow down the build. Tom