diff options
author | Konstantin Belousov <kostikbel@gmail.com> | 2017-01-18 21:03:51 +0200 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2017-01-19 10:07:13 -0800 |
commit | 9e97c9b17ae9b6922980465656b14bac5df2ea32 (patch) | |
tree | 1902202ecb657651054842e15654862ad85e0ec8 /src/os-hpux.c | |
parent | 7885596b9cf8c329e1985ac091140aa4c222f6b2 (diff) | |
download | libunwind-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.c | 11 |
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 + |