delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/24/06:43:30

X-Recipient: archive-cygwin AT delorie DOT com
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
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==
MIME-Version: 1.0
Date: Fri, 24 Aug 2012 14:43:00 +0400
Message-ID: <CACgPhYro_sDrwyoK_-_VepROj-Q+Fzpgq4Sy0RP7NJjf1f-oAQ@mail.gmail.com>
Subject: Re: GDB behaves differently on the final cygwin1.dll 1.7.16 and on a previous one.
From: Andrey Khalyavin <halyavin AT google DOT com>
To: cygwin AT cygwin DOT com
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQkAVCO+dnnfTqDL//SEj3QtVPQKyQH+fCJLR/oVd44HiL5gVtV4mTSbx/d9as1CsL2CfQJupZVkcmBnFp/UcBjL6p4B8nuK/lEdDdf3ZkXkZ3MTTUUDy1rAeE5NXWZB1ot532x1E/u1PEzz9roSs6sCSClVujdiQb7YXqo1X8385gF2aCW1z6DLFlyOMXBiUSO9mtao
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019