commit | af452c67bceba1326bb629d7c1a8241d54c09038 | [log] [tgz] |
---|---|---|
author | Luca Clementi <luca.clementi@gmail.com> | Fri Jan 03 22:05:03 2014 -0800 |
committer | Juan Cespedes <cespedes@debian.org> | Sun Jan 05 16:38:28 2014 +0100 |
tree | 0e094656709717c783e4657d45836f919773c594 | |
parent | 5b83bc76044a409100a37dad85813c1de57ba1e4 [diff] [blame] |
check return value of unw_get_reg and unw_get_proc_name Before printng the current procedure name and IP verify their validity
diff --git a/proc.h b/proc.h index 64f8fe2..35943c3 100644 --- a/proc.h +++ b/proc.h
@@ -30,6 +30,7 @@ #if defined(HAVE_LIBUNWIND) # include <libunwind.h> +# include <libunwind-ptrace.h> #endif /* defined(HAVE_LIBUNWIND) */ #include "ltrace.h"