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 477713858CDA for ; Tue, 10 Jan 2023 12:19:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 477713858CDA 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=1673353171; h=from:from:reply-to:subject:subject: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=kkZmNhP8KgSQ83fqPO7ntsFK4NpKs1/11hRL2zjpMT0=; b=OPI6CMGuI49sYLdW2lxqOIy4u0wnN5awTjxgh9ztUbffZafnhCtzN3lVd+cINbXnILlBE5 QQxj9kNejZqPHqRdihhxn7eNeS2cAWKnBQ+nv67tJphqzdd/1Y7xfZGZkdP39Hd4b55wwx rw6JdZg/ZfX+Jr7w5ZYWxXhv7uzjZ28= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-373-LrraCVt6NWycdIgTXbqvng-1; Tue, 10 Jan 2023 07:19:30 -0500 X-MC-Unique: LrraCVt6NWycdIgTXbqvng-1 Received: by mail-qk1-f198.google.com with SMTP id f13-20020a05620a408d00b006fc740f837eso8729807qko.20 for ; Tue, 10 Jan 2023 04:19:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kkZmNhP8KgSQ83fqPO7ntsFK4NpKs1/11hRL2zjpMT0=; b=t3YHeArdm2LwZBsRT+dijzljjgGEZYC9EDz6KcVGirKlRngbLMrpyuIKqitPdyDYsR dewSYKRTvfFpsNfy38uUlCj7btHi4g/8TpQBGDu4D1KxN9mQiudvFq/DvGTB2kC+VvYO WMltzKYyMac3xEqcr2Pu0XIKjLbKGzAeFUs1M49wRmSggzs5hGDsJiVuW3/sXNGf+y45 YYCKy2rDz0LfydiwIem6uBzbranGSZgph+j5wFLYh9GrDm+IZ5LzQ1htqv0VuaGvV72V +RVWlFtZXB/e62NL/LTmjfHvZPljg+IGEHKrct2AgTlP7dupepMVcB57Lcf9jo2mDdZS v0uw== X-Gm-Message-State: AFqh2koSlOGKcBq8zkcfcLZiuJ/bNbMPoPE3xaPnedtvG07MXLuSd3Mb HvmVjrBW1yrkpsLzecTgHSK6LEvcjewAnaUQEek2NFACqJxTOPO3yRL6rEdOhBJWHMbD+QwfnsY XQxfWV0gPRamue8/8jw== X-Received: by 2002:a0c:be86:0:b0:531:8d1d:e2bd with SMTP id n6-20020a0cbe86000000b005318d1de2bdmr65057039qvi.36.1673353170001; Tue, 10 Jan 2023 04:19:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXtOzXoGzKB/ESr2d+37M7iycG1PzpCeulH7+SbulIWA+nLv8RFkJeqrgmfoDFlU6s1qygfSVA== X-Received: by 2002:a0c:be86:0:b0:531:8d1d:e2bd with SMTP id n6-20020a0cbe86000000b005318d1de2bdmr65057022qvi.36.1673353169687; Tue, 10 Jan 2023 04:19:29 -0800 (PST) Received: from [192.168.1.18] ([79.123.71.116]) by smtp.gmail.com with ESMTPSA id n21-20020a05620a295500b00704c6263924sm7111220qkp.13.2023.01.10.04.19.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Jan 2023 04:19:29 -0800 (PST) Message-ID: <3d553ffd-b848-12aa-44a8-a70a80664fcb@redhat.com> Date: Tue, 10 Jan 2023 12:19:27 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 To: Maurizio Papini , binutils@sourceware.org References: <20221219135303.116222-1-mpapini@redhat.com> From: Nick Clifton Subject: Re: [PATCH 0/2] addr2line: new option -n to add a newline at the end In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: Hi Maurizio, > Do you think this should go through an RFC? Do you have any thoughts? I am sorry - I totally missed this patch submission. :-( >> This series adds a new option to addr2line (-n) to append a newline >> after the last informative one. I have to say that I am kind of with Jan on this one - it seems like a lot of effort to fix a small problem. Isn't there an easier way that would not involve patching addr2line ? For example if you use the -a/--addresses option then each decoded address will be prefixed with a line containing a simple hex number. This would allow a consumer of addr2line's output to detect the start of each decoded address. > 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. I am not sure what you are getting at here. Are you saying that addr2line can get stuck and so a timeout is needed in order to be to distinguish between addr2line being slow and addr2line being stuck ? If so then this sounds like a more serious problem that needs to be addressed by something other than just adding a blank line to the output. Cheers Nick