summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-04-28 09:24:39 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:25 +0900
commitccd9f24a3eb74dbc884c21859b1aaa141834528d (patch)
treefc8cf03f725019da2082474ed9a06b1cc12c46d3
parentf93dd744d66eb223d50ff86f6ec8745475031dbc (diff)
downloadltrace-ccd9f24a3eb74dbc884c21859b1aaa141834528d.tar.gz
ltrace-ccd9f24a3eb74dbc884c21859b1aaa141834528d.tar.bz2
ltrace-ccd9f24a3eb74dbc884c21859b1aaa141834528d.zip
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
-rw-r--r--dwarf_prototypes.c2
1 files changed, 1 insertions, 1 deletions
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,