diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-05-05 22:53:18 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-05-05 22:53:18 -0400 |
commit | 12603f28dc1abdfdff43c53b939ebb528382512e (patch) | |
tree | 0a94391933fb3cd03bc50b5d4146a817dbb85e91 | |
parent | 5aee7bca54fce01fe97c8ca168695bfd53c16fda (diff) | |
download | systemtap-steved-12603f28dc1abdfdff43c53b939ebb528382512e.tar.gz systemtap-steved-12603f28dc1abdfdff43c53b939ebb528382512e.tar.xz systemtap-steved-12603f28dc1abdfdff43c53b939ebb528382512e.zip |
PR444886: add .../build/... to default debuginfo search path
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tapsets.cxx | 2 | ||||
-rw-r--r-- | translate.cxx | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2008-05-05 Frank Ch. Eigler <fche@elastic.org> + + PR 444886. From <crquan@gmail.com>: + * tapsets.cxx, translate.cxx: Add .../build/... to default debuginfo + path, to ease search for hand-built kernels. + 2008-05-01 Frank Ch. Eigler <fche@elastic.org> PR 6474 diff --git a/tapsets.cxx b/tapsets.cxx index 27de9405..7cdf3c32 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -732,7 +732,7 @@ struct dwflpp void setup(bool kernel, bool debuginfo_needed = true) { // XXX: this is where the session -R parameter could come in - static char debuginfo_path_arr[] = "-:.debug:/usr/lib/debug"; + static char debuginfo_path_arr[] = "-:.debug:/usr/lib/debug:build"; static char *debuginfo_env_arr = getenv("SYSTEMTAP_DEBUGINFO_PATH"); static char *debuginfo_path = (debuginfo_env_arr ? diff --git a/translate.cxx b/translate.cxx index 4ccf3bba..3821e9cd 100644 --- a/translate.cxx +++ b/translate.cxx @@ -4397,7 +4397,7 @@ get_symbols (Dwfl_Module *m, int emit_symbol_data_from_debuginfo(systemtap_session& s, ofstream& kallsyms_out) { - static char debuginfo_path_arr[] = "-:.debug:/usr/lib/debug"; + static char debuginfo_path_arr[] = "-:.debug:/usr/lib/debug:build"; static char *debuginfo_env_arr = getenv("SYSTEMTAP_DEBUGINFO_PATH"); static char *debuginfo_path = (debuginfo_env_arr ? |