[ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-005
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Jan 22 18:36:00 GMT 2015
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:
> > >>
> > >> Hmm, I guess cygport should contemplate to copy the project header files
> > >> 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?
> >
> > $ uname -vsr
> > CYGWIN_NT-6.1 1.7.34(0.283/5/3) 2015-01-20 17:34
> >
> > Breakpoint 2, free (p=0x60011e1b0)
> > at /usr/src/debug/cygwin-1.7.34-005/winsup/cygwin/malloc_wrapper.cc:40
> >
> > stepping several times
> >
> > (gdb) n
> > 36 /usr/src/debug/cygwin-1.7.34-005/winsup/cygwin/sync.h: No such
> > file or directory.
>
> I'm not sure where that's coming from, because:
>
> $ 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
>
> 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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150122/6fd53e36/attachment.sig>
More information about the Cygwin
mailing list