public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: cygwin-apps@cygwin.com
Subject: Re: [cygport] enabling a replacement for "objdump -d -l"
Date: Tue, 12 Mar 2024 17:41:56 +0000	[thread overview]
Message-ID: <85c3141a-bed5-46e0-8106-5f7d88faee88@dronecode.org.uk> (raw)
In-Reply-To: <87il1smuj7.fsf@Gerda.invalid>

On 11/03/2024 19:35, ASSI via Cygwin-apps wrote:
> Jon Turney via Cygwin-apps writes:
[...]
> 
>> Fifty lines of perl with no comments! This is just line noise to me
>> unless I spend lots of time staring at it :)
> 
> That's what you get from an experiment that went rather more well than
> planned.
> 
>> Seriously, this should at least say "I'm running objdump -Wl to dump
>> out the .debug_line section containing DWARF XYZ information.
>>
>> Then maybe some comments about what assumptions it's making about the
>> human-readable output it's parsing.
> 
> So you're asking for a manpage, really.  Should be doable with enough
> round tuits.

Well, that would be nice too, but there is is difference between 
describing what it does and describing how it does what it does.

But I'm not being oblique here. I really do want comments.

I'm not sure what's so astounding about the suggestion that a fifty line 
script should have some comments in it that you can't believe I mean 
that literally...

[...]
>> What this line is doing is obvious, the rest of this block, not so much.
> 
> Nothing to see here, move along… :-P

...

[...]
>> Since the helper script will be installed, it could be made a boolean.
> 
> Out of habit grown over decades, I always keep an escape hatch for using
> local (modified) copies in such scripts.

Well, OK.  This is less useful to people who actually want to use it, 
though, requiring them to know that 
"DWARF_PARSE=/usr/share/cygport/tools/dwarf-parse.pl" is the right 
incantation.

Perhaps "DWARF_PARSE=1" could be a shorthand for that?


  reply	other threads:[~2024-03-12 17:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-18 19:51 ASSI
2024-02-20  3:42 ` Marco Atzeri
2024-02-20 18:21   ` ASSI
2024-02-26 19:29 ` Jon Turney
2024-03-11 19:35   ` ASSI
2024-03-12 17:41     ` Jon Turney [this message]
2024-03-12 17:49       ` ASSI
2024-03-12 21:39         ` Brian Inglis

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=85c3141a-bed5-46e0-8106-5f7d88faee88@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=Stromeko@nexgo.de \
    --cc=cygwin-apps@cygwin.com \
    /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).