delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=Dtr+nrnAygBDSgED | |
YyyZKtE+M3GIAb8+WiCQKUFJfYsua7h7ascRG3uVjxA9r5W+tJ62xkVFIsggLQV2 | |
thiWkcKO4xRPh40k2JKtBHRbaojUd7Fg91pEKllPVfLIgP++FDSFf56useqNPiMM | |
guKG95fC1PZXL0+3n7FidKLn6Gc= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=onVBId3rDF9mNVTCGfLlyZ | |
XkCL4=; b=Nei2ZbPwwfadtoRlu+s5C4tCtv2xu+EGxVmi//LhJIEm0ZOi6wWXD4 | |
Qxdlw+rS3lC86sUsbsx9MDsumY5FXWXFMNp0IA6CsAzyxqIfKYlXpA0m95gzezzo | |
XVMYuh1lsCIo9W4356yxurHQKo9Hvfdw5U9PfsvGJKm6yQIiljJ+c= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=inglis, soegtrop, Inglis, Soegtrop |
X-HELO: | smtp-out-no.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: cygport: how to install package sources for debugging without recompiling? |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
References: | <0F7D3B1B3C4B894D824F5B822E3E5A178FD75804 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <1eeb5325-40d8-baeb-6543-8c0a9035b3c1 AT dronecode DOT org DOT uk> <0F7D3B1B3C4B894D824F5B822E3E5A178FD758B0 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <77c7c864-aacd-ec4a-c3a8-7435c2a56a4c AT SystematicSw DOT ab DOT ca> <0F7D3B1B3C4B894D824F5B822E3E5A178FD75933 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Openpgp: | preference=signencrypt |
Message-ID: | <28d91ab5-dec0-6945-3474-c57b77c3a712@SystematicSw.ab.ca> |
Date: | Fri, 31 May 2019 05:09:22 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <0F7D3B1B3C4B894D824F5B822E3E5A178FD75933@IRSMSX102.ger.corp.intel.com> |
X-IsSubscribed: | yes |
On 2019-05-30 12:00, Soegtrop, Michael wrote: >> For Cygwin dlls, look at your installed lib... packages and install the related lib...- >> debuginfo packages where available: >> $ apt-cyg listall lib*-debuginfo | wc >> 350 1050 12704 > As far as I can tell these files only contain sources, but nothing which > would add debug info to stripped dlls: > $ tar -xavf mingw64-x86_64-runtime-debuginfo-6.0.0-1.tar.xz > $ find . -type f | sed -e 's/.*\.//' | sort -u > c > h > s > xz >> I am surprised at the number of supported mingw64- packages and the >> scarcity of related -debuginfo packages: > the MinGW support in Cygwin has very substantially improved in the last > years, but indeed many -debuginfo packages for MinGW libs are missing. The stripped exe debug info is saved as part of each cygport build and supplied as part of the binary -debuginfo package, if available, under /usr/lib/debug/usr/.../*.exe.dbg. With recent cygport releases I believe everything is taken care of unless you override (or mess up, or don't use) the cygport build and upload defaults. If I want to try a package, I grab the sources from upstream, copy and modify a cygport file to do the build, as it makes it so easy to use a variety of tool chains I am unfamiliar with, and gdb if required for diagnosis. $ apt-cyg listfiles cygwin-debuginfo | fgrep .dbg usr/lib/debug/usr/bin/cygwin1.dbg usr/lib/debug/usr/bin/chattr.exe.dbg usr/lib/debug/usr/bin/cygpath.exe.dbg ... usr/lib/debug/usr/bin/cygwin-console-helper.exe.dbg usr/lib/debug/usr/bin/ldh.exe.dbg usr/lib/debug/usr/bin/strace.exe.dbg usr/lib/debug/usr/sbin/cygserver.exe.dbg $ apt-cyg listfiles coreutils-debuginfo | fgrep .dbg usr/lib/debug/usr/bin/arch.exe.dbg usr/lib/debug/usr/bin/b2sum.exe.dbg usr/lib/debug/usr/bin/base32.exe.dbg ... usr/lib/debug/usr/bin/whoami.exe.dbg usr/lib/debug/usr/bin/yes.exe.dbg usr/lib/debug/usr/bin/[.exe.dbg usr/lib/debug/usr/libexec/coreutils/libstdbuf.so.dbg $ -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |