From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 942443858032 for ; Fri, 3 Feb 2023 09:02:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 942443858032 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail 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-out2.suse.de (Postfix) with ESMTPS id A7C3D20F76; Fri, 3 Feb 2023 09:02:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1675414935; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T2mDQn0dNYEj+sFhPIDME3rFrWi5fZZKlprChV8pSZ4=; b=qf9+++Msq7fi/MqZe+zRG0CPz4tdsu3F1ZQEsCvTZCzwXe2hVbZ3IsS8PvtGq63idzumn1 pxzJ/lZyyPznH2sundsevTrdrhKhKREYo6V+gMD9tAq2kyi2NyZR2soak1YORJ/gmsaCwW qc/hOjv4DzWAUmq6crKBHlTMjsx2J74= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1675414935; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T2mDQn0dNYEj+sFhPIDME3rFrWi5fZZKlprChV8pSZ4=; b=yE5N/PvtBOd0Hf6svoKotjJgxN87T52Lt3rRnV99bIYLIO/fvm98r2vi0aQF17JQN1ox5S 3L0LNFbT6n+0lrCg== 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 94EA81346D; Fri, 3 Feb 2023 09:02:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id X+tJI5fN3GMmDAAAMHmgww (envelope-from ); Fri, 03 Feb 2023 09:02:15 +0000 Message-ID: Date: Fri, 3 Feb 2023 10:02:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] addr2line: -C should not try to handle optional (ignored) argument To: Mark Wielaard , elfutils-devel@sourceware.org References: <20230123091128.687801-1-mark@klomp.org> <20230130210431.GC11361@gnu.wildebeest.org> Content-Language: en-US From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: <20230130210431.GC11361@gnu.wildebeest.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP autolearn=no 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 1/30/23 22:04, Mark Wielaard wrote: > Hi, > > On Mon, Jan 23, 2023 at 10:11:28AM +0100, Mark Wielaard wrote: >> The --demangle option takes an option (ignored) argument. Since -C >> is the short option of --demangle it also takes that optional >> argument. But that means that something like -Cfi is like -C got >> fi as argument, while the user expects -Cfi to be like -C -f -i. >> >> Separate the --demangle and -C options. --demangle still takes >> an optional (ignored) argument, but -C doesn't take any arguments >> so -Cfi acts the same as -fiC. >> >> Also fix --target, -b, so that it is properly ignored (and not >> accidentially enables demangling). > > Pushed. > > Cheers, > > Mark Hi. It caused https://sourceware.org/bugzilla/show_bug.cgi?id=30072 for me. Can you please take a look? Thanks, Martin