diff options
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/translate.cxx b/translate.cxx index 12d50617..3f847b48 100644 --- a/translate.cxx +++ b/translate.cxx @@ -4706,7 +4706,7 @@ emit_symbol_data (systemtap_session& s) unwindsym_dump_context ctx = { s, kallsyms_out, 0, s.unwindsym_modules }; // XXX: copied from tapsets.cxx dwflpp::, sadly - static const char *debuginfo_path_arr = "-:.debug:/usr/lib/debug:build"; + static const char *debuginfo_path_arr = "+:.debug:/usr/lib/debug:build"; static const char *debuginfo_env_arr = getenv("SYSTEMTAP_DEBUGINFO_PATH"); static const char *debuginfo_path = (debuginfo_env_arr ?: debuginfo_path_arr); @@ -4736,9 +4736,9 @@ emit_symbol_data (systemtap_session& s) if (s.kernel_build_tree == string("/lib/modules/" + s.kernel_release + "/build")) elfutils_kernel_path = s.kernel_release; else - elfutils_kernel_path = s.kernel_build_tree; + elfutils_kernel_path = s.kernel_build_tree; - int rc = dwfl_linux_kernel_report_offline (dwfl, + int rc = dwfl_linux_kernel_report_offline (dwfl, elfutils_kernel_path.c_str(), NULL /* XXX: filtering callback */); dwfl_report_end (dwfl, NULL, NULL); |