summaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-04-23 03:01:20 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:25 +0900
commit572c4648c0d567bd4868ff442149cd7b5603e370 (patch)
treea0d25b79acf883becdb1fbef60d2371ba6fd2b01 /library.h
parent45492e9eb4681609f218f11e71523b6751303af6 (diff)
downloadltrace-572c4648c0d567bd4868ff442149cd7b5603e370.tar.gz
ltrace-572c4648c0d567bd4868ff442149cd7b5603e370.tar.bz2
ltrace-572c4648c0d567bd4868ff442149cd7b5603e370.zip
moved DWARF prototype reading to library_get_prototype()
Diffstat (limited to 'library.h')
-rw-r--r--library.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/library.h b/library.h
index 9b687b1..82dc048 100644
--- a/library.h
+++ b/library.h
@@ -24,6 +24,10 @@
#include <stdint.h>
+#if defined(HAVE_LIBDW)
+# include <elfutils/libdwfl.h>
+#endif
+
#include "callback.h"
#include "forward.h"
#include "sysdep.h"
@@ -170,6 +174,10 @@ struct library {
struct arch_library_data arch;
struct os_library_data os;
+
+#if defined(HAVE_LIBDW)
+ Dwfl *dwfl;
+#endif
};
/* Init LIB. */