From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32599 invoked by alias); 24 Aug 2012 10:43:15 -0000 Received: (qmail 32591 invoked by uid 22791); 24 Aug 2012 10:43:14 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Aug 2012 10:43:01 +0000 Received: by obqv19 with SMTP id v19so4120383obq.2 for ; Fri, 24 Aug 2012 03:43:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-system-of-record:x-gm-message-state; bh=Irk2y4+doB7k8x+nmEowwYKg13sw0+khZ54kp0t6scc=; b=eYUpj/Y2tsZoPZcOjAsU21QPTf1bFxGpA4tyomNbjisLpVi8M7thR6wbajhymJnn42 I8JzsU7mA3E2JO14eIKzonpQc8092KdZZqAAowdHTB+kGlOV2CNWqXvuWaNVr8uMwNj3 5NUN+oJxwQ//Si7Kw+P6A7zaszYUTQ2uWggx1u1sVmCvvAYuUuCgAAwQKue4e0uPG3ji 1UlEO5t0lMEsMTULtyMMxIJm+W4ZPEAYFJvuHLP0LvRRHmEb0SjuNF/53CVQH9ZigUYR SbDS1CkXdnZ/UmQ0llcOoOVfTgTwyv0SRyo0X546UMa+8aSgm23lvVk0pxNWhZi/5j7b W1Bg== Received: by 10.50.220.194 with SMTP id py2mr1669573igc.15.1345804980692; Fri, 24 Aug 2012 03:43:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.220.194 with SMTP id py2mr1669569igc.15.1345804980596; Fri, 24 Aug 2012 03:43:00 -0700 (PDT) Received: by 10.231.185.7 with HTTP; Fri, 24 Aug 2012 03:43:00 -0700 (PDT) Date: Fri, 24 Aug 2012 12:47:00 -0000 Message-ID: Subject: Re: GDB behaves differently on the final cygwin1.dll 1.7.16 and on a previous one. From: Andrey Khalyavin To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true X-Gm-Message-State: ALoCoQkAVCO+dnnfTqDL//SEj3QtVPQKyQH+fCJLR/oVd44HiL5gVtV4mTSbx/d9as1CsL2CfQJupZVkcmBnFp/UcBjL6p4B8nuK/lEdDdf3ZkXkZ3MTTUUDy1rAeE5NXWZB1ot532x1E/u1PEzz9roSs6sCSClVujdiQb7YXqo1X8385gF2aCW1z6DLFlyOMXBiUSO9mtao Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00557.txt.bz2 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