aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2005-05-23 17:45:42 +0000
committerFred Fish <fnf@specifix.com>2005-05-23 17:45:42 +0000
commit0c552dc1882e1b7cfe81f27117631f04a92381bb (patch)
tree84fc300030057647d6be61bf1586861946ef67fb /binutils/doc
parent4ab527b0538fcb65673a93dc775c39a2e7ccb6d7 (diff)
downloadgdb-0c552dc1882e1b7cfe81f27117631f04a92381bb.zip
gdb-0c552dc1882e1b7cfe81f27117631f04a92381bb.tar.gz
gdb-0c552dc1882e1b7cfe81f27117631f04a92381bb.tar.bz2
Approved by nickc@redhat.com:
2005-05-23 Fred Fish <fnf@specifixinc.com> * addr2line.c (unwind_inlines): New flag for 'i' option. (usage): Document '-i' option. (long_options): Recognize '--inlines'. (translate_addresses): Loop, calling bfd_find_inliner_info as necessary and printing multiple output lines. (main): Handle 'i' option. * doc/binutils.texi (addr2line): Document '-i' option. * NEWS: Mention new addr2line '-i' option.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 5fe6e52..c18b6a9 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -2524,6 +2524,7 @@ addr2line [@option{-b} @var{bfdname}|@option{--target=}@var{bfdname}]
[@option{-C}|@option{--demangle}[=@var{style}]]
[@option{-e} @var{filename}|@option{--exe=}@var{filename}]
[@option{-f}|@option{--functions}] [@option{-s}|@option{--basename}]
+ [@option{-i}|@option{--inlines}]
[@option{-H}|@option{--help}] [@option{-V}|@option{--version}]
[addr addr @dots{}]
@c man end
@@ -2596,6 +2597,15 @@ Display function names as well as file and line number information.
@item -s
@itemx --basenames
Display only the base of each file name.
+
+@item -i
+@itemx --inlines
+If the address belongs to a function that was inlined, the source
+information for all enclosing scopes back to the first non-inlined
+function will also be printed. For example, if @code{main} inlines
+@code{callee1} which inlines @code{callee2}, and address is from
+@code{callee2}, the source information for @code{callee1} and @code{main}
+will also be printed.
@end table
@c man end