[ltrace-commits] 24/40: DWARF parser now looks for exported types
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 1eb806fcd1b34b514fa368c73b1621964f23c362
Author: Dima Kogan <dima at secretsauce.net>
Date: Mon Apr 28 09:24:39 2014 -0700
DWARF parser now looks for exported types
I now pass true to protolib_lookup_type(). Thus the user can now define a type
in .ltrace.conf, and it would be picked up
---
dwarf_prototypes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwarf_prototypes.c b/dwarf_prototypes.c
index 147f536..71f6e90 100644
--- a/dwarf_prototypes.c
+++ b/dwarf_prototypes.c
@@ -512,7 +512,7 @@ static bool get_type(struct arg_type_info** info, Dwarf_Die* type_die, struct pr
if (type_name != NULL) {
struct named_type* already_defined_type =
- protolib_lookup_type(plib, type_name, false);
+ protolib_lookup_type(plib, type_name, true);
if (already_defined_type != NULL) {
complain(type_die,
--
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