[ltrace-commits] 21/40: I now read the DWARF data in addition to the .conf files
Petr Machata
pmachata-guest at moszumanska.debian.org
Sun May 11 22:38:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
pmachata-guest pushed a commit to branch master
in repository ltrace.
commit ecb12244a074699d15fe21aa4a4611892ddf180f
Author: Dima Kogan <dima at secretsauce.net>
Date: Wed Apr 23 16:15:57 2014 -0700
I now read the DWARF data in addition to the .conf files
Previously if a .conf file for a library was available, the corresponding DWARF
data would not be parsed. Now I use one to complement the other
---
output.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/output.c b/output.c
index f7d23ce..e3a5f2b 100644
--- a/output.c
+++ b/output.c
@@ -213,7 +213,9 @@ library_get_prototype(struct library *lib, const char *name)
&& snip_period(buf));
#if defined(HAVE_LIBDW)
- if (lib->protolib == NULL && lib->dwfl != NULL &&
+ // DWARF data fills in the gaps in the .conf files, so I don't check for
+ // lib->protolib==NULL here
+ if (lib->dwfl != NULL &&
(filter_matches_library(options.plt_filter, lib ) ||
filter_matches_library(options.static_filter, lib ) ||
filter_matches_library(options.export_filter, lib )))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git
More information about the ltrace-commits
mailing list