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