delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/06/29/18:39:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A8663384D169
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:from:date:message-id:subject:to;
bh=40a7/VAH++hqeYUK3sh2YjKXwRe4sc0h95f1WOoTKnw=;
b=lhvQpPPoad/DHG4TaFT19obwCscBJ3ViZgbY7hMbofzni29RFxOo1yXMFTJgcm0pZC
Q7Gx+5ZgbDG50S1VEkZ3HVhcvnlUuIYeO+7cSUyg9AYs6Ag8d/HX6o5nFa1/oqUaJ4Nl
81QAZ+mHMvXsp+Mcf6PGzJd25AaDg2/nTnGBEGHG8J93NsYE8cu4NGUY6UWZfbnXNn/+
+u6o2ROgQtu7aHvw5Jg+mENOTbGZjBx246T8/4dqicHN3f2yH0OFSawxE3rUtSvhguoM
NFcfDf9uVN1H9pmtKU5AGJ+B8OaZyN3YqyOv6rvbbsG0RVFXAmu+53/KJ4xvf5F0FEe4
9bGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=40a7/VAH++hqeYUK3sh2YjKXwRe4sc0h95f1WOoTKnw=;
b=l0xLe0zduujtzKs4nyIS/FUz7rlYIv+rrZ2z/fRUZ3wECk1YLayxl+6hS9FPUkzlvf
WMA46G2/bi/F6lVCcnjPJTbJpXhbThu4AhFJ9jKdq3agEkS+roPzXu0E+TaoSihlfglr
cLrjMp9/v4uNvstRiJ7AM0cPhDYugKtzud8fLGH3tN5cc7nqmzy/2ERGBPFcHpoMXj4U
X8dbAgx2iCgCpda9wE+nNE1Q8NUegOBR8ISd+NW7/oEZvryMkzgLhBrOY4L+9VvYNtPB
X8LSVnsV7sJLvOa28MXGJQ5YChSu8rO1o87DEWHW4AVsXrt+nGwQScNi/qSqI53AhFqZ
wc4A==
X-Gm-Message-State: AJIora9sgAZ7/iVVVBvOd5Xbwf0Ldwt064Lktowd604rEe+WgLcKKlGj
xdfMKXa0GwT5msQnsB2S2ZK+0iMZOfzGcLrwh62ov+j1RxY=
X-Google-Smtp-Source: AGRyM1uUxJZ+MOghxDnNZpKaL3Lj1NaPI6N+zJRO/pv//6UAgTgaoBAnmMlIBl92+DANSeYkAKM4vKdwYWg5Hnslk24=
X-Received: by 2002:a17:906:58d5:b0:722:fc0b:305a with SMTP id
e21-20020a17090658d500b00722fc0b305amr5489906ejs.251.1656542340738; Wed, 29
Jun 2022 15:39:00 -0700 (PDT)
MIME-Version: 1.0
From: Ariel Burbaickij <ariel DOT burbaickij AT gmail DOT com>
Date: Thu, 30 Jun 2022 00:38:49 +0200
Message-ID: <CANeJNHp7xjeqqMDFeST9k14VFPQ=SY1EPqomGtc8nGBqD1bnrQ@mail.gmail.com>
Subject: variables, mostly private, not included into debug symbols list on
-g3 -ggdb settings
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello list,
any idea why private variables from  C++ source files are not included into
symbols list with -g3 and -ggdb compilation settings in gcc version 11.3.0
under Cygwin. Like that, roughly:

grep isInProgress *

<file_name>:    bool isInProgress;

$nm -Cal <file_name_of_executable>|grep isInProgress
$

So, watchpoints obviously do not work. Why is it like this ?

Kind Regards
Ariel Burbaickij

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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