This is the mail archive of the
mailing list for the binutils project.
The "-W|--wide" option?
- From: Carlos O'Donell <carlos_odonell at mentor dot com>
- To: <binutils at sourceware dot org>, Nick Clifton <nickc at redhat dot com>
- Date: Mon, 19 Sep 2011 17:03:53 -0400
- Subject: The "-W|--wide" option?
During some internal patch review the question of
output width came up and in particular what behaviour
binutils was trying to follow.
Must all binutils tool output be wrapped to 80 chars
unless -W|--wode is specified?
If we wrap, as opposed to truncating, then how does
one wrap something that is a single block larger
than 80 characters?
Do we care to indicate that the wrapping has occurred?
I notice that:
* objdump says it will truncate symbol names without -W.
* readelf says it will break lines (wrap).
Is the current behaviour a historical matter, and changing
it would not be acceptable because it might break consumers
of this output?
Comments and guidance appreciated.
Mentor Graphics / CodeSourcery
+1 (613) 963 1026