From 9c90cdba352e1cb9dbfae3659c71664dba4b3904 Mon Sep 17 00:00:00 2001 From: Luca Clementi Date: Fri, 3 Jan 2014 22:05:03 -0800 Subject: check return value of unw_get_reg and unw_get_proc_name Before printng the current procedure name and IP verify their validity --- proc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index 11755b0..97bcb60 100644 --- a/proc.c +++ b/proc.c @@ -29,11 +29,6 @@ #include #include -#if defined(HAVE_LIBUNWIND) -#include -#include -#endif /* defined(HAVE_LIBUNWIND) */ - #include "backend.h" #include "breakpoint.h" #include "debug.h" -- cgit v1.2.3