From ccd9f24a3eb74dbc884c21859b1aaa141834528d Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 28 Apr 2014 09:24:39 -0700 Subject: [PATCH] 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, -- 2.7.4