From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by sourceware.org (Postfix) with ESMTPS id A5B2938485AE for ; Thu, 30 Jun 2022 00:47:58 +0000 (GMT) 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 Received: by mail-ed1-x52a.google.com with SMTP id z19so24393780edb.11 for ; Wed, 29 Jun 2022 17:47:58 -0700 (PDT) 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: In-Reply-To: From: Ariel Burbaickij Date: Thu, 30 Jun 2022 02:47:46 +0200 Message-ID: Subject: Re: variables, mostly private, not included into debug symbols list on -g3 -ggdb settings To: duncan_roe@optusnet.com.au, The Cygwin Mailing List 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2022 00:48:00 -0000 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 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 * > > > > : bool isInProgress; > > > > $nm -Cal |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 >