delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/30/08:52:57

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:subject:to:references:cc:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=RuckZ9dRn6+exkrl
yYQOwWvRbBXiwYoXh3sEnRQ6m8FSt6jvSb5IWQWtlGqLWBuBuXKE4j7mCIcM8RhI
IUS5EGq/XWyiGgcF6cEs5U+P84zt8zb+hihdmR6rb1FpA4ljxzkQX0G9sPV8g+pu
Mthdp+3UX+hYH35A1DnuH5oABAY=
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:subject:to:references:cc:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=gdOdBrx7UJuZQfpenj5rU/
CIUXY=; b=K2YMi7UZNDiWVyoeyhs6ecQg9BnR3bz8An/t1EwxyKGv+NQJUEHQaa
QJTC2/SjkqGBAJXokUaJysafGkGRbZYQ9bmHLLyXm+kfJxD5FquxhUT9rSdN+Inx
DYjFcX5cPcJYCQd2TePru4SjFKl++OYJ/T/oY5kIvbpGltUPLGPl0=
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.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
X-OWM-Source-IP: 86.184.210.21 (GB)
X-OWM-Env-Sender: jonturney AT btinternet DOT com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-SNCR-VADESECURE: CLEAN
Subject: Re: cygport: how to install package sources for debugging without recompiling?
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <0F7D3B1B3C4B894D824F5B822E3E5A178FD75804 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com>
Cc: "Soegtrop, Michael" <michael DOT soegtrop AT intel DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <1eeb5325-40d8-baeb-6543-8c0a9035b3c1@dronecode.org.uk>
Date: Thu, 30 May 2019 13:52:34 +0100
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>

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 <package.cygport> 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 <package.cygport> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019