X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=ieW3ZHO b4wBGxPS3iJPMQ9QYywPIOcp6DBqjwEdYMKSVG2k35Ws2iizcEUcSf/lBZA66NXo kKM9k0r2fdQlDyvOOWz2dRgcFQK90qrpkbcOcl1LTg2e+MHSMnznrulOi6bd3V3u CKvFycsoVjwucU5rCX6sm9y97aaxKSurxSoM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=u8mUvo6hjSJKL H7A3SdAa4h+nSk=; b=e7PJ5Zkg+lmCTX2eiDDVMSo3ibSZWFirza0y764giSCrS S0xKFsRM2Zl15kA/k/tC3q5o6uqQe4brNpPGxq+GDrYK1ALpFvHTTn8t237AGPzY 0YDzXkQy0JYE5JEtKJ2q7vDi6QNIqXn7FQyWtpvqsV7OtDx+Z28MKCIX2kzhoQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 In-Reply-To: <551ec1bb-60e2-2372-8e1a-f4cb839ae454@gmail.com> References: <551ec1bb-60e2-2372-8e1a-f4cb839ae454 AT gmail DOT com> From: Michael Enright Date: Tue, 15 May 2018 10:17:57 -0700 Message-ID: Subject: Re: Defaulting to stabs debug output from AS Cygwin64 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes 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