projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add --debug-info-target-prefix
[babeltrace.git]
/
lib
/
so-info.c
diff --git
a/lib/so-info.c
b/lib/so-info.c
index 6998fbfbf0328700c1bd8ce925a62c2b38e1dfd2..93d7167fee60244932fc15634a3fa797a5b54352 100644
(file)
--- a/
lib/so-info.c
+++ b/
lib/so-info.c
@@
-78,7
+78,13
@@
struct so_info *so_info_create(const char *path, uint64_t low_addr,
goto error;
}
- so->elf_path = strdup(path);
+ if (opt_debug_info_target_prefix) {
+ so->elf_path = g_build_path("/", opt_debug_info_target_prefix,
+ path, NULL);
+ } else {
+ so->elf_path = strdup(path);
+ }
+
if (!so->elf_path) {
goto error;
}
This page took
0.025606 seconds
and
4
git commands to generate.