diff options
author | Ken Werner <ken.werner@linaro.org> | 2011-09-09 09:32:54 +0000 |
---|---|---|
committer | Arun Sharma <asharma@fb.com> | 2011-10-15 23:10:28 -0700 |
commit | 7f41e701e34353baa975f5b471a9343aee2e488e (patch) | |
tree | db275f92ff2dadf9686ee56d7699d30cb15ef1ce /src/os-hpux.c | |
parent | da4743f52a577c9bf005a23b39b021238763e5ee (diff) | |
download | libunwind-7f41e701e34353baa975f5b471a9343aee2e488e.tar.gz |
Have tdep_get_elf_image available in case of UNW_REMOTE_ONLY
Because it gets used by libunwind-ptrace.
Signed-off-by: Ken Werner <ken.werner@linaro.org>
Diffstat (limited to 'src/os-hpux.c')
-rw-r--r-- | src/os-hpux.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/os-hpux.c b/src/os-hpux.c index 1ba017fa..11b1177c 100644 --- a/src/os-hpux.c +++ b/src/os-hpux.c @@ -23,8 +23,6 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef UNW_REMOTE_ONLY - #include <dlfcn.h> #include <string.h> #include <unistd.h> @@ -67,5 +65,3 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip, return elf_map_image (ei, path); } - -#endif /* UNW_REMOTE_ONLY */ |