delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/06/29/20:48:37

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 A5B2938485AE
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:references:in-reply-to:from:date:message-id:subject:to;
bh=LEstbDPsIeHaLRkkMtWqmSheYk8zmZHAbglaFolst1c=;
b=FS/E8oU8ptj4ompVmgPOraVTecLL+LWVBw5l+mgy4GACw7nfFnO4I8NEd4UXu8toyZ
/wNkfR1hKacHZvA0+KcQ00SlSQsBGMwS2IccNb4xG6zaBjVjfe2SYKKRQLXzwu3nhJ+w
BW2K+Z7IfzflNgCEps+qnHmOmUP/poLXd0kjAYa43HdTvWxYMY9DmtY+U/xlyWfDgNrf
Zrj3wurN0Zm6R9VIAYAZAjrIfHHy/3DX0qcCl2InhoCr9pcgwCMemJbZRPACo4BQT9lu
Jfft5oYxUgm0FzMLnEn6JUWBGZck++Tx67IxC7KwgGYlLFss3OHSyzYbLhH6jTNfobeY
+0fQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=LEstbDPsIeHaLRkkMtWqmSheYk8zmZHAbglaFolst1c=;
b=IYTn7ylYdyI0glwt2uTh8muD088RbKzu+OKllHF/HehNjwJgl7k8OLqwZVrPPovTQi
NjuM17Tta7BUUxGg3TdijBpoL6p8izIsEQop7ka/6eT25EwclDGIxKhQZC4llUcaMt/c
km1fqBlsyeLd0rvOILjk3Lb37tGMD6311jHJ3AoaHW0PG1bfKqOzc1n9MXlJM0fE0FTR
4Q+psHsCGFDh2RHVpqVdShRpIJaCSVWbzSWi/BOSjjkB9OM9ZYXkSq28oBi59fAyWxH5
qfEfAR7ggzpRf1+RpRz8PFbKUjUYMw7098zoklR0Z2K9MeScUNa+v8gbeMg5o8Zg94pC
DJTA==
X-Gm-Message-State: AJIora/XDVVlPSia+1oQJWFLZG75pZ6NHZmTlxYnrsJQIzOCt+51Innu
MYgh1etTna1j3S1MSaZKDwK2q1SEejDVyJUC2e8muFIY
X-Google-Smtp-Source: AGRyM1slngbP2LpMgtzVtPcC0bAM+yAVMm6BQOTJ8ZcMXgFRkOu1lfhPHs4mu2kwWp5zl7d6qqEcfgJiDVEtKG0bIEE=
X-Received: by 2002:a05:6402:5008:b0:437:7f01:82a with SMTP id
p8-20020a056402500800b004377f01082amr7997760eda.220.1656550077424; Wed, 29
Jun 2022 17:47:57 -0700 (PDT)
MIME-Version: 1.0
References: <CANeJNHp7xjeqqMDFeST9k14VFPQ=SY1EPqomGtc8nGBqD1bnrQ AT mail DOT gmail DOT com>
<Yrzqe4Ksl35/p8JA AT slk15 DOT local DOT net>
In-Reply-To: <Yrzqe4Ksl35/p8JA@slk15.local.net>
From: Ariel Burbaickij <ariel DOT burbaickij AT gmail DOT com>
Date: Thu, 30 Jun 2022 02:47:46 +0200
Message-ID: <CANeJNHrZT-eX6yb6DyqoXweng2F2Z9FD3EqYXyRzW+BoOWL0pQ@mail.gmail.com>
Subject: Re: variables, mostly private, not included into debug symbols list
on -g3 -ggdb settings
To: duncan_roe AT optusnet DOT com DOT au, The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=-0.6 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 Duncan,
Interesting branch to take -- I have not checked it myself but there are
claims that DWARF-4 (has to be written this way too in options) is
Turing-Complete -- but no, still the same in terms of information available
-- which starts to look seriously strange.

Kind Regards
Ariel Burbaickij

On Thu, Jun 30, 2022 at 2:13 AM Duncan Roe <duncan_roe AT optusnet DOT com DOT au>
wrote:

> Hi Ariel,
>
> On Thu, Jun 30, 2022 at 12:38:49AM +0200, Ariel Burbaickij wrote:
> > 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
> >
> I had a similar problem with -g3 -ggdb: macros were not recognised.
>
> Using -g3 -gdwarf4 fixed that for me.
>
> IIUC -ggdb is supposed to select the optimum debug format for gdb. It may
> be a
> bug that it no longer does.
>
> HTH,
>
> Cheers ... Duncan.
>
> --
> 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
>

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