From 12603f28dc1abdfdff43c53b939ebb528382512e Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 5 May 2008 22:53:18 -0400 Subject: PR444886: add .../build/... to default debuginfo search path --- ChangeLog | 6 ++++++ tapsets.cxx | 2 +- translate.cxx | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fec3fd36..57b1debc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-05 Frank Ch. Eigler + + PR 444886. From : + * tapsets.cxx, translate.cxx: Add .../build/... to default debuginfo + path, to ease search for hand-built kernels. + 2008-05-01 Frank Ch. Eigler 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 ? -- cgit