summaryrefslogtreecommitdiff
path: root/library.c
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.c
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.c')
-rw-r--r--library.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/library.c b/library.c
index 1f425e0..13d8d45 100644
--- a/library.c
+++ b/library.c
@@ -294,6 +294,10 @@ private_library_init(struct library *lib, enum library_type type)
lib->symbols = NULL;
lib->exported_names = NULL;
lib->type = type;
+
+#if defined(HAVE_LIBDW)
+ lib->dwfl = NULL;
+#endif
}
int