[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/18209] objdump -h is not very helpful printing decompresse
From: |
dje at google dot com |
Subject: |
[Bug binutils/18209] objdump -h is not very helpful printing decompressed section names |
Date: |
Tue, 21 Apr 2015 23:52:23 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18209
--- Comment #7 from dje at google dot com ---
(In reply to Nick Clifton from comment #3)
> Hi Doug,
>
> It is an artifact of the BFD library that objdump -h shows the
> uncompressed versions of compressed debug sections. It could be argues that
> this is in fact more helpful to the user, since it gives an idea of the
> total amount of debugging information in the executable.
>
> So I have uploaded a proposed patch which extends the -j option of objdump
> so that it will accept .debug.<foo> as an alias for .zdebug.<foo>. It also
> updates the documentation of objdump to describe the behaviour of the -h
> option in more detail. Please could you try out this patch and let me know
> what you think.
>
> Cheers
> Nick
fwiw, I'd prefer it if the tools didn't try to be clever like this by default.
Such things can and do lead to confusion.
Feel free to add an option to do this kind of thing,
but if you're asking for my opinion :-),
I'd rather tools like objdump be literal by default, not clever.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/18209] New: objdump -h is not very helpful printing decompressed section names, dje at google dot com, 2015/04/07
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, dje at google dot com, 2015/04/07
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, nickc at redhat dot com, 2015/04/08
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, nickc at redhat dot com, 2015/04/08
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, hjl.tools at gmail dot com, 2015/04/18
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, hjl.tools at gmail dot com, 2015/04/18
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, hjl.tools at gmail dot com, 2015/04/18
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, hjl.tools at gmail dot com, 2015/04/19
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names,
dje at google dot com <=
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, nickc at redhat dot com, 2015/04/23
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, cvs-commit at gcc dot gnu.org, 2015/04/23
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, hjl.tools at gmail dot com, 2015/04/23
- [Bug binutils/18209] objdump -h is not very helpful printing decompressed section names, cvs-commit at gcc dot gnu.org, 2015/04/24