aboutsummaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorLuca Clementi <luca.clementi@gmail.com>2014-01-03 22:05:03 -0800
committerJuan Cespedes <cespedes@debian.org>2014-01-05 16:38:28 +0100
commitaf452c67bceba1326bb629d7c1a8241d54c09038 (patch)
tree0e094656709717c783e4657d45836f919773c594 /proc.c
parent5b83bc76044a409100a37dad85813c1de57ba1e4 (diff)
downloadltrace-af452c67bceba1326bb629d7c1a8241d54c09038.tar.gz
check return value of unw_get_reg and unw_get_proc_name
Before printng the current procedure name and IP verify their validity
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/proc.c b/proc.c
index 11755b0..97bcb60 100644
--- a/proc.c
+++ b/proc.c
@@ -29,11 +29,6 @@
#include <stdlib.h>
#include <string.h>
-#if defined(HAVE_LIBUNWIND)
-#include <libunwind.h>
-#include <libunwind-ptrace.h>
-#endif /* defined(HAVE_LIBUNWIND) */
-
#include "backend.h"
#include "breakpoint.h"
#include "debug.h"