From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40233 invoked by alias); 15 May 2018 17:18:01 -0000 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 Received: (qmail 40167 invoked by uid 89); 15 May 2018 17:18:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=chosen, HX-Received:sk:5-v6mr1, tackle, wish X-HELO: mail-oi0-f45.google.com Received: from mail-oi0-f45.google.com (HELO mail-oi0-f45.google.com) (209.85.218.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 15 May 2018 17:17:59 +0000 Received: by mail-oi0-f45.google.com with SMTP id l1-v6so880996oii.1 for ; Tue, 15 May 2018 10:17:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rHKpzy2/aRaWr1vMtKMw9mn2Hef0a2bgyZqiK0V2KSs=; b=RJpJMN7ts058YN0WdiXs8Y8HGA3A7soMvPxwsrvX2DCJE5kcKr0JR5apoa4FloAWgu lLxaOj1DUNggyw9CZc/9HMWLA5jYK6rR0PyLN2rdx36M9BTBDWkKJ8QHdtHoJdKtPStd vx/ynpiPVxy4GXtOd6RXRFjxlkDknAHFVNpI63FnTnGG5eGR3fM4IGt4PjCF55YvZRxd kV1DtSRAaXkPeqdvEGGNJJw1sZ6w95VS6U/hzmlFGszbDA+A6jkcU8tNwoLKCyVjvGuE v45Ympu4uqblhuBHrPpfJEQJLIsKolyVXJQQl8q4by+GFMSOzJqY+YC5/5sUh8Do03Xq hAgA== X-Gm-Message-State: ALKqPwetsMcMWFQzm8ptysjN+BdbeRueeHbChaoQ28JnmNy35DXlaHQH cohLX31jdzqH19EPf7+0o3vXVKDSnXgmXAtcpzXPnxEt X-Google-Smtp-Source: AB8JxZrkQutVRa8uaIluFvxrC3H7cJPqIsAxWyCf0w8IKmw5KOobXErsnceh15Ch5CPWG+xqeeTspgOQtqkxcIX3gxE= X-Received: by 2002:aca:1205:: with SMTP id 5-v6mr10343130ois.308.1526404677630; Tue, 15 May 2018 10:17:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:56e9:0:0:0:0:0 with HTTP; Tue, 15 May 2018 10:17:57 -0700 (PDT) In-Reply-To: <551ec1bb-60e2-2372-8e1a-f4cb839ae454@gmail.com> References: <551ec1bb-60e2-2372-8e1a-f4cb839ae454@gmail.com> From: Michael Enright Date: Tue, 15 May 2018 17:41:00 -0000 Message-ID: Subject: Re: Defaulting to stabs debug output from AS Cygwin64 To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00199.txt.bz2 On Tue, May 15, 2018 at 5:58 AM, cyg Simple wrote: > > Years of work tells me to not trust the default of any option. You > should be specific. I have a few years under my belt (come to think of it they are threatening to engulf my belt). For work, I'd do what's necessary to integrate the little thing into the big thing. For this I don't want to work too hard on side issues unless I decide they are interesting side issues. > > The dwarf format isn't supported by native tools. I think COFF should > be the default but that is just me and I don't maintain the distribution > of GCC. The GCC driver uses -gdwarf2 if you do 'gcc -g' on a .s file. Using -gdwarf2 with assembly code manually or through gcc is successful in producing a Cygwin64 executable that Cygwin64 GDB can work with. This combination of circumstances led me to wonder how stabs was chosen for Cygwin64. > > I question your use of Cygwin instead of MinGW for your compiler but > that is just a musing. > When I cobble together an I/O system for the language's runtime, I will probably switch the project to Linux-only. I/O is one of the interesting side issues I wish to tackle. -- 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