diff options
author | Dima Kogan <dima@secretsauce.net> | 2014-04-23 16:15:57 -0700 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:25 +0900 |
commit | 6892eafd9704dfd84f8a5bdabfb53c51b993118e (patch) | |
tree | aa99c0fd8da586914ac8edc54235012819bdf434 | |
parent | bbf56636fb1e0c893251a562ee47c80c3fc577ba (diff) | |
download | ltrace-6892eafd9704dfd84f8a5bdabfb53c51b993118e.tar.gz ltrace-6892eafd9704dfd84f8a5bdabfb53c51b993118e.tar.bz2 ltrace-6892eafd9704dfd84f8a5bdabfb53c51b993118e.zip |
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
-rw-r--r-- | output.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 ))) |