This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/5] addr2line: Add --pretty-print option to show all information on one line.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]