summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-05-05 22:53:18 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-05-05 22:53:18 -0400
commit12603f28dc1abdfdff43c53b939ebb528382512e (patch)
tree0a94391933fb3cd03bc50b5d4146a817dbb85e91
parent5aee7bca54fce01fe97c8ca168695bfd53c16fda (diff)
downloadsystemtap-steved-12603f28dc1abdfdff43c53b939ebb528382512e.tar.gz
systemtap-steved-12603f28dc1abdfdff43c53b939ebb528382512e.tar.xz
systemtap-steved-12603f28dc1abdfdff43c53b939ebb528382512e.zip
PR444886: add .../build/... to default debuginfo search path
-rw-r--r--ChangeLog6
-rw-r--r--tapsets.cxx2
-rw-r--r--translate.cxx2
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 <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 ?