[RFC] readelf -w/-debug-dump= association

Andreas Schwab schwab@linux-m68k.org
Thu May 27 08:14:03 GMT 2021


On Mai 27 2021, Alan Modra via Binutils wrote:

> diff --git a/binutils/readelf.c b/binutils/readelf.c
> index a6ed24c03bd..9844a9229c3 100644
> --- a/binutils/readelf.c
> +++ b/binutils/readelf.c
> @@ -4653,10 +4653,10 @@ usage (FILE * stream)
>    -R --relocated-dump=<number|name>\n\
>                           Dump the contents of section <number|name> as relocated bytes\n\
>    -z --decompress        Decompress section before dumping it\n\
> -  -w[lLiaprmfFsOoRtgUuTAc] or\n\
> -  --debug-dump=[rawline,decodedline,info,abbrev,pubnames,aranges,macro,frames,\n\
> -                frames-interp,str,str-offsets,loc,Ranges,pubtypes,gdb_index,\n\
> -                trace_info,trace_abbrev,trace_aranges,addr,cu_index]\n\
> +  -w/--debug-dump=[a/abbrev, A/addr, r/aranges, c/cu_index, L/decodedline,\n\
> +                   f/frames, F/frames-interp, g/gdb_index, i/info, o/loc,\n\
> +                   m/macro, p/pubnames, t/pubtypes, R/Ranges, l/rawline, s/str\n\
> +                   O/str-offsets, u/trace_abbrev, T/trace_aranges, U/trace_info]\n\

Note that the argument to -w/--debug-dump is optional.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Binutils mailing list