Tuesday, 6 August 2013

How to find if debug information only contains relative paths or absolute paths?

How to find if debug information only contains relative paths or absolute
paths?

How to find if debug information contains relative paths or absolute paths?
I am trying to Outputting annotated source (opannotate) using the
following link. http://oprofile.sourceforge.net/doc/opannotate.html
I would like to know about it in order to give the following options along
with opannotate.
--base-dirs / -b [paths]/ Comma-separated list of path prefixes. This can
be used to point OProfile to a different location for source files when
the debug information specifies an absolute path on your system for the
source that does not exist. The prefix is stripped from the debug source
file paths, then searched in the search dirs specified by --search-dirs.
--search-dirs / -d [paths] Comma-separated list of paths to search for
source files. This is useful to find source files when the debug
information only contains relative paths.
Thanks.

No comments:

Post a Comment