From owner-cvs-ports@FreeBSD.ORG Mon Jul 2 02:47:39 2007 Return-Path: X-Original-To: cvs-ports@freebsd.org Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA7E816A421; Mon, 2 Jul 2007 02:47:39 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2BB13C48C; Mon, 2 Jul 2007 02:47:39 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id l622X2Cw003530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Jul 2007 22:33:02 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id l622X2U9003529; Sun, 1 Jul 2007 22:33:02 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Gerald Pfeifer Date: Sun, 1 Jul 2007 22:33:00 -0400 User-Agent: KMail/1.9.6 References: <200706271731.l5RHVE7Z075959@repoman.freebsd.org> <4682B710.3030701@FreeBSD.org> In-Reply-To: X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: cvs-ports@freebsd.org, Gabor Kovesdan , cvs-all@freebsd.org, ports-committers@freebsd.org Subject: patches for gdb-6.6 (Re: cvs commit: ports/devel/gdb6 ...) X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2007 02:47:39 -0000 On ÎÅĦÌÑ 01 ÌÉÐÅÎØ 2007, Gerald Pfeifer wrote: = >> š Update the stale port from a 3 year-old snapshot to the most recent = >> š release 6.6 based on own work and that of the PR's submitter. = > Cool, thanks! = = Cool stuff, indeed! šHow much of this has been or will be submitted to = upstream GDB? šIt would be nice for the next release of GDB to work on = FreeBSD out of the box without any extra patches. There are only two patches left now -- David did a good job communicating our needs to the gdb maintainers and NONE of the old patches seem needed. Although I have not tried to debug kernel core dumps yet, there is at least one piece of assembly (inside mplayer), where the stock gdb crashes, but the new gdb-6.6 works properly. The two new patches are: . patch-unified -- this makes it possible to install _the same_ executable under three different names (gdb, gdbtui, insight), instead of installing three different large binaries, which differ only in the 10-line main() function; . itcl33-patch -- this provides the changes neccessary for insight to work with [incr tcl] (and [incr tk]) installed by the corresponding ports, instead of using the obsolete versions bundled with Insight. Both patches were sent upstream. The first was rejected: "what if a user symlinks an executable to a totally different name? It is a GNU policy to not rely on the executable's name"... Not sure, how this "policy" reconciles with the behavior of the most famous piece of GNU software -- gzip/gunzip/gzcat/zcat -- but this was the answer I got... The other patch's fate is still pending -- so far, I could not even convince the Insight maintainers to stop bundling the entire gdb, itcl, itk, and iwidgets inside insight tarball (notice, that the port downloads the GUI bits from my own site). But, maybe, some day they'll switch to the more recent (only 5 years old) version of [incr tcl] and my patch will be useful to them... -mi