summaryrefslogtreecommitdiff
path: root/src/os-hpux.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kostikbel@gmail.com>2017-01-18 21:03:51 +0200
committerDave Watson <davejwatson@fb.com>2017-01-19 10:07:13 -0800
commit9e97c9b17ae9b6922980465656b14bac5df2ea32 (patch)
tree1902202ecb657651054842e15654862ad85e0ec8 /src/os-hpux.c
parent7885596b9cf8c329e1985ac091140aa4c222f6b2 (diff)
downloadlibunwind-9e97c9b17ae9b6922980465656b14bac5df2ea32.tar.gz
dwarf: Make binary path calculation os-specific.
/proc/self/exe only works on Linux, move path computation to os-* files
Diffstat (limited to 'src/os-hpux.c')
-rw-r--r--src/os-hpux.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/os-hpux.c b/src/os-hpux.c
index 2ee6fa74..d9435c1e 100644
--- a/src/os-hpux.c
+++ b/src/os-hpux.c
@@ -65,3 +65,14 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
return elf_map_image (ei, path);
}
+
+#ifndef UNW_REMOTE_ONLY
+
+PROTECTED void
+tdep_get_exe_image_path (char *path)
+{
+ path[0] = 0; /* XXX */
+}
+
+#endif
+