delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/30/05:04:00

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:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=B4G
y17OzzaPGJyQRrvTbtPH6mfr211IdvUoPRDjw1pDPFgvOOuNV5J+NML/4xclLhcy
gHQWi5i//R0v04CjO37Nri4kZonhKjrdT3aDnlqZTL9tvhlx7DgWEcM3IDQ7OmBT
SEmIzlc0sFt7EtzX+7fUlGT7l/87dnumiN6k/7XY=
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:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=O7F4lwzM/
f9HNY4jax4U6YxCbN4=; b=gylDOboDkMEPG8jPUXlSfyQw8Up4YwlBoRwpdoN9m
c5nKELc7S35YSziKMWEFjoOBOqkq/wewGe+2oh76lSdrjnJw67Mo6wmvvIjK0pkY
03m3C6G6oFnQdsv2WjeohC3rmlsOERA9XlUVxNnK+O28XOIq7zp+8MMg40pE8YuX
uc=
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=-0.2 required=5.0 tests=AWL,BAYES_40,HTML_MESSAGE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=Team, directors, Board, Gary
X-HELO: mga12.intel.com
From: "Soegtrop, Michael" <michael DOT soegtrop AT intel DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: cygport: how to install package sources for debugging without recompiling?
Date: Thu, 30 May 2019 09:03:40 +0000
Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A178FD75804@IRSMSX102.ger.corp.intel.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x4U93xDk009708

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).

Thanks & best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

--
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