summaryrefslogtreecommitdiff
path: root/proc.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 /proc.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 'proc.c')
-rw-r--r--proc.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/proc.c b/proc.c
index 49c0b93..f08f947 100644
--- a/proc.c
+++ b/proc.c
@@ -37,7 +37,6 @@
#include "proc.h"
#include "value_dict.h"
#include "dwarf_prototypes.h"
-#include "filter.h"
#ifndef OS_HAVE_PROCESS_DATA
int
@@ -947,13 +946,7 @@ proc_add_library(struct process *proc, struct library *lib)
}
}
- if( dwfl != NULL &&
- ( filter_matches_library(options.plt_filter, lib ) ||
- filter_matches_library(options.static_filter, lib ) ||
- filter_matches_library(options.export_filter, lib ) ) )
- {
- import_DWARF_prototypes( lib->protolib, lib, dwfl );
- }
+ lib->dwfl = dwfl;
#endif /* defined(HAVE_LIBDW) */