From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18144 invoked by alias); 15 Mar 2013 15:26:27 -0000 Received: (qmail 18133 invoked by uid 22791); 15 Mar 2013 15:26:26 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Mar 2013 15:26:16 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2FFQFaj015889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Mar 2013 11:26:15 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r2FFQEfm006991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 15 Mar 2013 11:26:14 -0400 From: Tom Tromey To: Pedro Alves Cc: Sergio Durigan Junior , Debug List , nt_mahmood@yahoo.com, "gdb\@sourceware.org" Subject: Re: Missing separate debuginfos References: <1361295973.55844.YahooMailNeo@web163002.mail.bf1.yahoo.com> <5123E23D.9010007@redhat.com> Date: Fri, 15 Mar 2013 15:26:00 -0000 In-Reply-To: <5123E23D.9010007@redhat.com> (Pedro Alves's message of "Tue, 19 Feb 2013 20:36:13 +0000") Message-ID: <874ngc3crt.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2013-03/txt/msg00020.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> Debug info for packages used by the program missing. Install with: Pedro> debuginfo-install Pedro> But of course that may well just be me. Maybe be even wordier, like Some debug info for packages used by the program is missing. You can install this with: debuginfo-install package-1 \ package-2 \ package-3 Once the packages are installed, you can use them in the current gdb with: nosharedlibrary sharedlibrary .* Future invocations of gdb will pick them up automatically. Of course then you get into pagination, especially if you have a ton of uninstalled debug packages. We could trim this down the second time it is printed. Maybe it would be nice if debuginfo-install were a gdb command. Then it could do the sharedlibrary dance for the user, without needing nosharedlibrary. The "nosharedlibrary" thing is also hard to figure out. See http://sourceware.org/bugzilla/show_bug.cgi?id=12794 and http://sourceware.org/bugzilla/show_bug.cgi?id=14479 This could definitely use an enhancement. Tom