This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB behaves differently on the final cygwin1.dll 1.7.16 and on a previous one.


On  Fri, 24 Aug 2012 01:45:11 +0400, Evgeny Tarasov wrote:
>Well,
>
>I've got two different cygwin1.dll's of 1.7.16 version.
>The first one was obtained from cvs and built by myself (is it attached to 5th june, 2012; as uname -a says)
>The other one is of final 20 july, 2012 ver.
>
>So my question is the following:
>Why the same GDB does not want to put breakpoints to the same (and any) source when I work with the latest of the two.
>I always have completely updated cygwin installation, but in order to debug, i have to replace the latest cygwin1.dll with the previous.

You need to install Debug/cygwin-debuginfo package. Then you will be
able to set breakpoints by line:
(gdb) symbol-file cygwin1.dll
Reading symbols from /usr/bin/cygwin1.dll...Reading symbols from
/usr/lib/debug/usr/bin/cygwin1.dbg...done.
done.
(gdb) b _cygtls::call2
Breakpoint 1 at 0x610050e0: file
/usr/src/debug/cygwin-1.7.16-1/winsup/cygwin/cygtls.cc, line 92.

Andrey Khalyavin

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]