[PATCH 5/5] addr2line: Add --pretty-print option to show all information on one line.
Roland McGrath
roland at hack.frob.com
Wed May 20 18:28:40 UTC 2015
If we're starting to aim for compatibility with binutils, then perhaps we
should change -p to match. I think having only --pid would be OK.
> + printf ("%s%s", symname (name), pretty ? " " : "\n");
Use %c. Several other instances below.
> + name = (name != NULL) ? symname (name) : "??";
No need for parens.
More information about the elfutils-devel
mailing list