From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id E9DC13858D32 for ; Mon, 5 Sep 2022 07:59:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E9DC13858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3379F21FBE; Mon, 5 Sep 2022 07:59:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1662364753; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wsQu1HDKxmAkkfUlFirN8NVDWIAvnbzrBH3kVg2Vix0=; b=K5WY5LOAdrbmR3jUmnmM/+L/FwLIteOhEcTNZBUH2DN1kpaYX0zat4fSxEtqlakbEyaCIg sIRo5r79qyDgI3cFX9FDojQFdfeUG+HpwYbnpN/pQyZuNLUGff8Jx61O3Q3V3Qi59Z45RY tiNgdLeUjhfMmEqiTkq2dr8wWuKscOI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1662364753; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wsQu1HDKxmAkkfUlFirN8NVDWIAvnbzrBH3kVg2Vix0=; b=t1cY4ukuKtUHqxUGS8U3+IhZlAfy0O47cCRu2TrZHytxAOLBveFgoxmyjeQ3C1E+BQskjC LzBdproQCW/qKaAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2183913A66; Mon, 5 Sep 2022 07:59:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id G/wQB1GsFWOKfAAAMHmgww (envelope-from ); Mon, 05 Sep 2022 07:59:13 +0000 Message-ID: Date: Mon, 5 Sep 2022 09:59:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH 1/3] STABS: remove -gstabs and -gxcoff functionality Content-Language: en-US To: Richard Biener Cc: GCC Patches References: <10a94ccc-e01b-b98a-0fcb-cd661c10c315@suse.cz> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 List-Id: On 9/2/22 10:54, Richard Biener wrote: > On Fri, Sep 2, 2022 at 9:00 AM Martin Liška wrote: >> >> On 9/1/22 13:18, Richard Biener wrote: >>> I presume WarnRemoved will diagnose use of -gstabs but not fail >>> compilation. Will -gstabs then still enable -g (with the default debug >>> format)? >> >> No, it won't set -g option. > > That was the usual side-effect - I wonder if we want to emit extra > diagnostic when one of the obsolete options is given but -g is not > enabled in the end or whether we want to preserve the debug info > enablement effect? I would leave it for now and see if somebody would complain about the current behavior. > >>> >>> Please followup with a gcc-13/changes.html entry. >> >> Sure. >> >>> >>> I notice we have VMS_DEBUGGING_INFO left. From a quick look >>> it is used by alpha*-dec-* (exclusively) and ia64-hp-*vms* (maybe >>> also supports DWARF, it is ELF at least). One of the goals of >>> non-DWARF removal was to get rid of debug hooks and instead allow >>> "free-form" early debug generation from the frontends. >> >> Can you please explain what you mean by the free-form and what's expected >> to do with the VMS_DEBUGGING_INFO macro? > > Well, VMS debugging would go, just like STABS. Can go now, or shall we deprecate it in GCC 13 first? > With "free-form" I mean > that frontend code could call into the dwarf2out API directly, creating > DWARF DIEs for language specific info (we probably want to export more > and/or nicer APIs for such use). Ok, so bypassing dwarf2_debug_hooks, right? I can leave it to you such API improvement. What do you think? Cheers, Martin > > Richard. > >> Cheers, >> Martin