This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] Support inline stacks in objdump


On Mär 18 2017, Andi Kleen <andi@firstfloor.org> wrote:

> @@ -968,6 +969,10 @@ address of the symbol.  For an undefined symbol, look for the line
>  number of a relocation entry which refers to the symbol.  If line number
>  information can be found, print it after the other symbol information.
>  
> +@itemx --line-numbers

--inlines

> +@cindex inlines
> +Enable printing the inlined function stack when printing line numbers is enabled.
> +

Perhaps copy the doc of addr2line --inlines?

>  @item -n
>  @itemx -v
>  @itemx --numeric-sort
> diff --git a/binutils/objdump.c b/binutils/objdump.c
> index 6cd8d0becac5..83154695f8f2 100644
> --- a/binutils/objdump.c
> +++ b/binutils/objdump.c
> @@ -117,6 +117,7 @@ static bfd_boolean display_file_offsets;/* -F */
>  static const char *prefix;		/* --prefix */
>  static int prefix_strip;		/* --prefix-strip */
>  static size_t prefix_length;
> +static int unwind_inlines;		/* --inline, unwind inlines */

--inlines

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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