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=iwrNQTeseN2UI8Hz qlf2HQoZfsPVA06nlY8f9G+BOirlF1OcmCc1Fn4q/G0N2xdUHGhWeo0WmnSSEak+ 66iF85AQF19hvXsod+3cxGVlfbvQcK0lWQ7v0mSjADObiHIDmfB7oyKA42IWyxF9 gJqz8qd8PUXAQkreVRn2aRSTUVs= 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=VMqgKOrVzx9ApFOimbWzXw gRs8k=; b=shRlHHFZfY6uZvqL/dQY4WWvLEQKBcyIfBy7UTupyXwB/bSq9MdAdO X8uuS0W6ffuZe9YxQyvLPBAG5zE4ykbu63OjHZfjmTLFBfyZhk50Fha2wEwfqBOU V1tiJxVbSZDTqMgFzsC30/X34ArA7X6wK5hTwhOqIqli7RT9yzm2E= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=7401, 4871 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 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> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <77c7c864-aacd-ec4a-c3a8-7435c2a56a4c@SystematicSw.ab.ca> Date: Thu, 30 May 2019 11:04:12 -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: <0F7D3B1B3C4B894D824F5B822E3E5A178FD758B0@IRSMSX102.ger.corp.intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2019-05-30 10:37, Soegtrop, Michael wrote: >> Is there some reason why you can't just install that? > > thanks for the hint - I was not aware that the -debuginfo package contains > sources - I thought these just contain dwarf files or similar for stripped > binaries and sources are in the -src packages. > > Unfortunately for MinGW debuginfo packages exist only for rather few libraries. > > Also I wonder if there exists something like debug info for stripped binaries > in Cygwin - similar to .pdb files for MSVC. These seem to be not part of the > debuginfo packages. Does this mean when I want to debug DLLs I anyway need to > recompile them because the installed DLLs are stripped and there is no other > way to get DLLs with debug information? 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 Many Cygwin packages have related -debuginfo packages like other distros have -debug packages: $ apt-cyg listall [a-km-zA-Z]*-debuginfo | wc 2110 6330 76602 I am surprised at the number of supported mingw64- packages and the scarcity of related -debuginfo packages: $ apt-cyg listall mingw64- | wc 786 2358 31654 $ apt-cyg listall mingw*debuginfo mingw64-i686-binutils-debuginfo 2.29.1.787c9873-1 x86_64 mingw64-i686-gcc-debuginfo 7.4.0-1 x86_64 mingw64-i686-google-breakpad-debuginfo 20171117_git70914b2d-1 noarch mingw64-i686-hidapi-debuginfo 0.8.0-rc1-1 noarch mingw64-i686-libsolv-debuginfo 0.6.27-1 noarch mingw64-i686-pkg-config-debuginfo 1.6.0-1 x86_64 mingw64-i686-qt4-qmake-debuginfo 4.8.7-1 x86_64 mingw64-i686-runtime-debuginfo 6.0.0-1 noarch mingw64-i686-tcl-debuginfo 8.6.8-1 noarch mingw64-i686-tk-debuginfo 8.6.8-1 noarch mingw64-i686-widl-debuginfo 3.0.0-1 x86_64 mingw64-i686-winpthreads-debuginfo 6.0.0-1 noarch mingw64-i686-zstd-debuginfo 1.4.0-1 noarch mingw64-x86_64-binutils-debuginfo 2.29.1.787c9873-1 x86_64 mingw64-x86_64-gcc-debuginfo 7.4.0-1 x86_64 mingw64-x86_64-google-breakpad-debuginfo 20171117_git70914b2d-1 noarch mingw64-x86_64-hidapi-debuginfo 0.8.0-rc1-1 noarch mingw64-x86_64-libsolv-debuginfo 0.6.27-1 noarch mingw64-x86_64-pkg-config-debuginfo 1.6.0-1 x86_64 mingw64-x86_64-qt4-qmake-debuginfo 4.8.7-1 x86_64 mingw64-x86_64-runtime-debuginfo 6.0.0-1 noarch mingw64-x86_64-tcl-debuginfo 8.6.8-1 noarch mingw64-x86_64-tk-debuginfo 8.6.8-1 noarch mingw64-x86_64-widl-debuginfo 3.0.0-1 x86_64 mingw64-x86_64-winpthreads-debuginfo 6.0.0-1 noarch mingw64-x86_64-zstd-debuginfo 1.4.0-1 noarch -- -- 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