X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=xYf/U6fu+sQoD5trWiSmrS1T301poY0QrghgMPf0AGAAy3rLBQ2Ax
	g2cfGSq8owW2PaX3HpawT+UxrsZRH+T6+/lbSMDYRuXPue7g91+PY5k4nsU+FPRH
	5+v/g+gz+BQO8wXWHzBohEg+ZyWJZrfJmFGbWRDgvYVqjEY7C47074=
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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=SKz2HCgHhoUaLqPLHEgmf3lHtjQ=; b=iubJJgRXM2MNVvClLkKwygFhkL2Z
	bMw9698Mcks/0e1UEmsTyzLJGbUyOvGPfdfqIERl0Fwl1P3mxN8bSC+mapgtj0ox
	nHoRTikG2brQde+6e3p5rpYf/b7CwvIQALfvhaj6zlYYfH3pyiero0O20jEIUZ2U
	ZikSg/mwOAFNUkw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 22 Jan 2015 18:33:07 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-005
Message-ID: <20150122173307.GP19127@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <announce.20150120164242.GA23732@calimero.vinschen.de> <54C09D3F.9040501@gmail.com> <20150122091803.GE19127@calimero.vinschen.de> <1421920217.13568.5.camel@cygwin.com> <54C0D3FE.6060908@gmail.com> <1421942689.13568.10.camel@cygwin.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="C01fF7hLGvN0zd9s"
Content-Disposition: inline
In-Reply-To: <1421942689.13568.10.camel@cygwin.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--C01fF7hLGvN0zd9s
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 22 10:04, Yaakov Selkowitz wrote:
> On Thu, 2015-01-22 at 11:42 +0100, Marco Atzeri wrote:
> > On 1/22/2015 10:50 AM, Yaakov Selkowitz wrote:
> > > On Thu, 2015-01-22 at 10:18 +0100, Corinna Vinschen wrote:
> > >>=20
> > >> Hmm, I guess cygport should contemplate to copy the project header f=
iles
> > >> to the debuginfo package as well.  That might be a lot for the Cygwin
> > >> package itself (it will copy the system headers, too), but it would
> > >> obviously help in these cases.  And it's not only C++.  C headers may
> > >> contain nut^Winline functions as well.
> > >
> > > cygwin-debuginfo includes a number of headers from winsup and even one
> > > from newlib/libc/string.  Is there something missing in particular?
> >=20
> > $ uname -vsr
> > CYGWIN_NT-6.1 1.7.34(0.283/5/3) 2015-01-20 17:34
> >=20
> > Breakpoint 2, free (p=3D0x60011e1b0)
> >      at /usr/src/debug/cygwin-1.7.34-005/winsup/cygwin/malloc_wrapper.c=
c:40
> >=20
> > stepping several times
> >=20
> > (gdb) n
> > 36      /usr/src/debug/cygwin-1.7.34-005/winsup/cygwin/sync.h: No such=
=20
> > file or directory.
>=20
> I'm not sure where that's coming from, because:
>=20
> $ nm -l /usr/lib/debug/usr/bin/cygwin1.dbg | grep -F sync.
> 000000018012b200 T _ZN4muto4initEPKc    /usr/src/debug/cygwin-1.7.34-005/=
winsup/cygwin/sync.cc:35
> 000000018012b270 T _ZN4muto7acquireEj   /usr/src/debug/cygwin-1.7.34-005/=
winsup/cygwin/sync.cc:77
> 000000018012b330 T _ZN4muto7releaseEP7_cygtls   /usr/src/debug/cygwin-1.7=
.34-005/winsup/cygwin/sync.cc:115
>=20
> There is no reference to sync.h listed there, hence it is not in the
> debuginfo package.

nm is not everything there is.  There are inline methods in
sync.h.  If the Dwarf debug information is correct, it would point to
the source in sync.h even for the code inlined into other functions.
Let's try:

  $ objdump -Wl cygwin1.dbg | grep sync\.h
  32	10	0	0	sync.h
  51	2	0	0	sync.h
  55	2	0	0	sync.h
  48	2	0	0	sync.h
  [...]

So there *are* refs to sync.h, there's just no symbol in the symbol
table attached to it.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--C01fF7hLGvN0zd9s
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUwTRTAAoJEPU2Bp2uRE+gdUEP/j+xrqv/NmC/Rz765penqKYC
oL/YHotIwx70+Eiq1RF3Yq7gm4qP9tuXDD+MmllR6GkTELdaiSvfDliAdmkeZtiA
BCh669WMSBR31Xs9AcIfRCz86rSrukFAqDlxoOSPPvXs1cxP2mQ6SDijVq6+cXBN
M+dYL1HgzdZDYG4mdjBO2sWxG49Q0kTO+okiVSk+6AJpl6FiJ5APY3u+t7WPyjjE
2y14qLW6y/FkBWq4UkWpKgRIBoJ/imy+yEyvII7c/hZ3+s8ldv0x6sQsE2QJgqHB
cjzeB1IhsM18JCTFM/0bH6GtItLNvasUwQ+Qjn1G69jUc7fqlHaVRAaSzDy/ref6
LzjsR9wgas6vbLvcJ0q+mNoZRwZpsylAWL9inok9l/nBMi8dXcHp4T1XjsxW3hLV
ZeUfV6loF0nNvzzpdIsfetOGAVY4gYQacsuT4nsN6iru2LjbcoDyI2GHORZWJHXL
NeFtwVwQaSBaRMsJb431QOnN4MVdtUhLOCwFW/arm8FK1j6e7ICoxcVbjPWBsKMG
ODZKXIzGQX+1BQioo6401VFr/x+jv3YTA4mQa/KvyjeyF6gBpYMfeOvrVHzuUEAy
LWdW9TI2lNRvYXPMSCEiRYVnrgFHV20F8RaRpAZnu6dvBkpQTYkITGhzZ2fLIgWh
jY1cJTfpB11mhNE6cgG2
=bX8e
-----END PGP SIGNATURE-----

--C01fF7hLGvN0zd9s--
