From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 568073858CDA for ; Mon, 9 Jan 2023 16:04:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 568073858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673280266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WOwUaDD2tf9nZh7wTEByR2TLH382IfuyU/S961xCyIg=; b=OP+QZyQzvA2p1yaelf6j1eMzbVzQEpU+I12YL+Vd0iYjyO8adRqRKi1X/qA8UC78dpDXOJ 3BNKQX2jPxxOTbrquPJXd19nJxY/SqrJrVRV6ZorKVHBlDLu9Jij8wIkPC5gz+KWkY0zaq WFjnHfgv6iC0BaXoPBSLukyA043Ahzs= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-613-zgX5rk7tM3i7E_RZascOKg-1; Mon, 09 Jan 2023 11:04:23 -0500 X-MC-Unique: zgX5rk7tM3i7E_RZascOKg-1 Received: by mail-ua1-f69.google.com with SMTP id k12-20020a9f30cc000000b0059bd6246237so4430025uab.7 for ; Mon, 09 Jan 2023 08:04:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WOwUaDD2tf9nZh7wTEByR2TLH382IfuyU/S961xCyIg=; b=ZNDhEbiQk6HQDIAFT/L25CZz65SdF48Af6fg5RVIpVkCXwZBi464k1X1HuJUD//4S0 g4Z1PUqtnt9uBzzeVKWN+q3yaJwWyrSM9Ken6Xeud1kT1AKsA86HA1s/HddF2MtyQasP r68RXcXx78KNCxAJB7AXhfKjI4mgJGwtPzgfKDW7KGJkaV3WOo5Ew5mRtQHxB6THgRUa 1xa+MaxeG1C+cTN5/PiTJr3Cqsz3o2h7OuJhAW/LT409jHkYJ79fSPfdFI/u3Uv7h3sb Fv/13uR0ZIjvRBzX2x/zusRh0JMYH3OszXu07D1tkh6MBI7cUs18w/uR7EobCRhtVl3r 570A== X-Gm-Message-State: AFqh2kqC+DlvUmElzpHOyDcpuN+SCNZhcrOXk+RqRwqa1BmxZn6C1IPZ 4UJjQIGTXIUNQ/XA7jZcIFDIdFNPv5e/B+fIQyiJIoMTO+uQlqprLbKCZjuzumJ6kOsFPujlBgu UbKkG5p5CCk4u8AN6vTAs+xE8DFSXuA6xXg== X-Received: by 2002:ab0:3577:0:b0:558:1df2:bd0d with SMTP id e23-20020ab03577000000b005581df2bd0dmr4899425uaa.44.1673280259231; Mon, 09 Jan 2023 08:04:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXs8EWU/gcz3IMU2Fz6Nxa7HuGA+p7kUY58B6xY6Fhvcbny1VVh7aUAS7kwBI76aiC5cpRpCoSrP3T4FzNUu450= X-Received: by 2002:ab0:3577:0:b0:558:1df2:bd0d with SMTP id e23-20020ab03577000000b005581df2bd0dmr4899422uaa.44.1673280258883; Mon, 09 Jan 2023 08:04:18 -0800 (PST) MIME-Version: 1.0 References: <20221219135303.116222-1-mpapini@redhat.com> In-Reply-To: <20221219135303.116222-1-mpapini@redhat.com> From: Maurizio Papini Date: Mon, 9 Jan 2023 17:04:08 +0100 Message-ID: Subject: Re: [PATCH 0/2] addr2line: new option -n to add a newline at the end To: binutils@sourceware.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="0000000000007194ff05f1d6ebc1" X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP 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: --0000000000007194ff05f1d6ebc1 Content-Type: text/plain; charset="UTF-8" Hi All, Do you think this should go through an RFC? Do you have any thoughts? Thanks for your time. BR, Maurizio On Mon, Dec 19, 2022 at 2:53 PM Maurizio Papini wrote: > This series adds a new option to addr2line (-n) to append a newline > after the last informative one. > > This new option is helpful for using a running addr2line process and > performing queries, in particular when the option -i is requested: the > additional empty line can be used to mark the end of the inlined functions > lists so that an application can get the output without defining a timeout. > > The first patch adds the new option while the second one adds the relative > test. > > Let me know what you think. > > Maurizio > > > Maurizio Papini (2): > addr2line: new option -n to add a newline at the end > addr2line: test to check -n option > > binutils/addr2line.c | 11 +++++++++-- > binutils/doc/binutils.texi | 5 +++++ > binutils/testsuite/binutils-all/addr2line.exp | 10 ++++++++++ > 3 files changed, 24 insertions(+), 2 deletions(-) > > -- > 2.38.1 > > --0000000000007194ff05f1d6ebc1--