From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98309 invoked by alias); 30 May 2019 12:52:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 97962 invoked by uid 89); 30 May 2019 12:52:46 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1457, dear, Dear, Team X-HELO: rgout0703.bt.lon5.cpcloud.co.uk Received: from rgout0703.bt.lon5.cpcloud.co.uk (HELO rgout0703.bt.lon5.cpcloud.co.uk) (65.20.0.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 May 2019 12:52:45 +0000 X-OWM-Source-IP: 86.184.210.21 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-SNCR-VADESECURE: CLEAN Received: from [192.168.1.102] (86.184.210.21) by rgout07.bt.lon5.cpcloud.co.uk (9.0.019.26-1) (authenticated as jonturney@btinternet.com) id 5C65093609D2AFAE; Thu, 30 May 2019 13:52:35 +0100 Subject: Re: cygport: how to install package sources for debugging without recompiling? To: The Cygwin Mailing List References: <0F7D3B1B3C4B894D824F5B822E3E5A178FD75804@IRSMSX102.ger.corp.intel.com> Cc: "Soegtrop, Michael" From: Jon Turney Message-ID: <1eeb5325-40d8-baeb-6543-8c0a9035b3c1@dronecode.org.uk> Date: Thu, 30 May 2019 12:52:00 -0000 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: <0F7D3B1B3C4B894D824F5B822E3E5A178FD75804@IRSMSX102.ger.corp.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2019-05/txt/msg00259.txt.bz2 On 30/05/2019 10:03, Soegtrop, Michael wrote: > Dear Cygwin Team, > > Cygwin setup allows downloading sources of libraries, but the resulting sources are not immediately useful for debugging. One gets a compressed tar archive, some patches and the cygport file. I know that I can expand sources and apply patches with > > cyport prep > > which gives me what I need for debugging, just not in the right place. E.g. some MinGW runtime file is searched by gdb (without giving any directory commands) at > > /usr/src/debug/mingw64-x86_64-runtime-6.0.0-1/crt/ucrtexe.c > > But after above procedure it is in: > > /usr/src/mingw64-x86_64-runtime-6.0.0-1.src/mingw64-x86_64-runtime-6.0.0-1.noarch/src/mingw-w64/mingw-w64-crt/crt/ucrtexe.c > > Now of cause I can make a script and copy everything I need where it belongs. But as far as I know > > cyport all > > would put the sources in the /usr/src/debug folder. But I don't want to recompile everything, I just want to put the sources where gdb can find them. Is there some way to tell cyport to do this? If not this would be a great additional feature for cygport (which is a very convenient tool). cypgort is a tool for making packages. It's already been used to make a package containing what you want: mingw64-x86_64-runtime-debuginfo. Is there some reason why you can't just install that? -- 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