From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12629 invoked by alias); 21 Feb 2009 15:58:06 -0000 Received: (qmail 12611 invoked by uid 22791); 21 Feb 2009 15:58:05 -0000 X-SWARE-Spam-Status: No, hits=-2.4 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; Sat, 21 Feb 2009 15:57:58 +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 n1LFvtNq005393; Sat, 21 Feb 2009 10:57:55 -0500 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 n1LFvtKe006457; Sat, 21 Feb 2009 10:57:55 -0500 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n1LFvqeZ015090; Sat, 21 Feb 2009 10:57:53 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n1LFvoQT003578; Sat, 21 Feb 2009 16:57:51 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.2/Submit) id n1LFvo9o003575; Sat, 21 Feb 2009 16:57:50 +0100 Date: Sat, 21 Feb 2009 16:32:00 -0000 From: Jan Kratochvil To: Mark Kettenis Cc: drow@false.org, gdb-patches@sourceware.org Subject: Re: [patch] Fix `return' of long/long-long results with no debuginfo Message-ID: <20090221155750.GA2144@host0.dyn.jankratochvil.net> References: <20090211214646.GA22247@host0.dyn.jankratochvil.net> <200902112244.n1BMiK36012947@brahms.sibelius.xs4all.nl> <20090221000409.GA8771@host0.dyn.jankratochvil.net> <200902211054.n1LAsjYv013808@brahms.sibelius.xs4all.nl> <20090211194511.GA9324@host0.dyn.jankratochvil.net> <200902112040.n1BKdxb3028188@brahms.sibelius.xs4all.nl> <20090211205045.GB9762@caradoc.them.org> <200902112122.n1BLMf8q000100@brahms.sibelius.xs4all.nl> <20090221124724.GA28905@host0.dyn.jankratochvil.net> <200902211343.n1LDhidm020789@brahms.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902211343.n1LDhidm020789@brahms.sibelius.xs4all.nl> User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00413.txt.bz2 On Sat, 21 Feb 2009 14:43:44 +0100, Mark Kettenis wrote: > > It has been proven by the original bugreport even experienced > > programmers will make a mistake forgetting about the type cast. > > And I' say it again. You're doing such users a far bigger favour by > distributing libraries with debug information. than with bloating gdb > with code to work around issues. Fedora GDB already has a custom patch to make this more easy: http://cvs.fedora.redhat.com/viewvc/rpms/gdb/devel/gdb-6.6-buildid-locate.patch?view=co $ gdb --args sleep 1h GNU gdb Fedora (6.8-29.fc10) [...] This GDB was configured as "x86_64-redhat-linux-gnu"... (no debugging symbols found) Missing separate debuginfos, use: debuginfo-install coreutils-6.12-18.fc10.x86_64 (gdb) q $ gdb -q ./main (gdb) r Starting program: /md1/home/lace/src/main Program exited normally. Missing separate debuginfos, use: debuginfo-install glibc-2.9-3.x86_64 (gdb) q Still you can find in the bugreport(s) people do not do it: https://bugzilla.redhat.com/show_bug.cgi?id=365111 Mostly cited reason is that debuginfo files are currently too big, which is being actively worked on: https://fedoraproject.org/wiki/Features/DebugInfoRevamp The state of the debugging is not perfect but I hope Fedora does the best effort it can for it instead of turning down patches without even giving a reason now. Regards, Jan