pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lldb-netbsd: Recognize NetBSD specific libdebug path
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Wed Mar 29 14:58:10 2017 +0200
Changeset: 6a8734ef1a7e4d65fa3a22a2498f2d743304fe31
Modified Files:
lldb-netbsd/distinfo
Added Files:
lldb-netbsd/patches/patch-source_Host_common_Symbols.cpp
Log Message:
lldb-netbsd: Recognize NetBSD specific libdebug path
Debugging Information in Separate Files is stored in /usr/libdata/debug
on NetBSD.
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6a8734ef1a7e4d65fa3a22a2498f2d743304fe31
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lldb-netbsd/distinfo | 1 +
.../patches/patch-source_Host_common_Symbols.cpp | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 30f5c3640d..c386e66d95 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -13,6 +13,7 @@ SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
SHA1 (patch-source_Host_common_Host.cpp) = 7d48b8bb1e4350ba6d3ddc6357b9b8dc82d6b32d
+SHA1 (patch-source_Host_common_Symbols.cpp) = bf955b08a9e56104a0f532a3f8fa75ffb8934590
SHA1 (patch-source_Plugins_DynamicLoader_POSIX-DYLD_DYLDRendezvous.cpp) = 32d683eb388ded96e7f9aedec827202b5b056392
SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 307ddb37500be7c7bfba196a9ec8017df726a2b7
SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp) = 1c4e5f6f6bf6f665ed659b195de02f7ca26827c9
diff --git a/lldb-netbsd/patches/patch-source_Host_common_Symbols.cpp b/lldb-netbsd/patches/patch-source_Host_common_Symbols.cpp
new file mode 100644
index 0000000000..48b796dbca
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Host_common_Symbols.cpp
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- source/Host/common/Symbols.cpp.orig 2017-03-26 19:17:32.000000000 +0000
++++ source/Host/common/Symbols.cpp
+@@ -212,8 +212,13 @@ FileSpec Symbols::LocateExecutableSymbol
+ debug_file_search_paths.AppendIfUnique(FileSpec(".", true));
+
+ #ifndef LLVM_ON_WIN32
++#if defined(__NetBSD__)
++ // Add /usr/libdata/debug directory.
++ debug_file_search_paths.AppendIfUnique(FileSpec("/usr/libdata/debug", true));
++#else
+ // Add /usr/lib/debug directory.
+ debug_file_search_paths.AppendIfUnique(FileSpec("/usr/lib/debug", true));
++#endif
+ #endif // LLVM_ON_WIN32
+
+ std::string uuid_str;
Home |
Main Index |
Thread Index |
Old Index