From: Mark Wielaard <mark@klomp.org>
To: elfutils-devel@sourceware.org
Subject: Re: [PATCH] addr2line: -C should not try to handle optional (ignored) argument
Date: Mon, 30 Jan 2023 22:04:31 +0100 [thread overview]
Message-ID: <20230130210431.GC11361@gnu.wildebeest.org> (raw)
In-Reply-To: <20230123091128.687801-1-mark@klomp.org>
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
next prev parent reply other threads:[~2023-01-30 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-23 9:11 Mark Wielaard
2023-01-30 21:04 ` Mark Wielaard [this message]
2023-02-03 9:02 ` Martin Liška
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230130210431.GC11361@gnu.wildebeest.org \
--to=mark@klomp.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).