public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygport: how to install package sources for debugging without recompiling?
@ 2019-05-30  9:03 Soegtrop, Michael
  2019-05-30 12:52 ` Jon Turney
  0 siblings, 1 reply; 7+ messages in thread
From: Soegtrop, Michael @ 2019-05-30  9:03 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-31 11:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30  9:03 cygport: how to install package sources for debugging without recompiling? Soegtrop, Michael
2019-05-30 12:52 ` Jon Turney
2019-05-30 14:07   ` Brian Inglis
2019-05-30 16:37   ` Soegtrop, Michael
2019-05-30 17:04     ` Brian Inglis
2019-05-30 18:01       ` Soegtrop, Michael
2019-05-31 11:09         ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).