diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-12-05 11:33:58 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-12-05 11:33:58 -0500 |
commit | 0dc343224e63d8c6f2ba4f0688c93c8c9b5781b6 (patch) | |
tree | 89715b7bdb70e64ef4dea4de87e4932cdd8252fe /tapsets.cxx | |
parent | 3e122bea3dd507d0d355e4dead7fcbd73b72c0d9 (diff) | |
download | systemtap-steved-0dc343224e63d8c6f2ba4f0688c93c8c9b5781b6.tar.gz systemtap-steved-0dc343224e63d8c6f2ba4f0688c93c8c9b5781b6.tar.xz systemtap-steved-0dc343224e63d8c6f2ba4f0688c93c8c9b5781b6.zip |
turn on elfutils-level debuginfo<->stripped-binary checksum matching
This is necessary to detect mismatching debuginfo for user-space
programs without build-id. We don't have run-time version assertions
for user-space binaries.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 178d2465..d49ea39d 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -895,7 +895,7 @@ struct dwflpp if (! sess.module_cache) sess.module_cache = new module_cache (); - 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 ); @@ -957,7 +957,7 @@ struct dwflpp void setup_user(string module_name, bool debuginfo_needed = true) { - 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"); // NB: kernel_build_tree doesn't enter into this, as it's for // kernel-side modules only. |