projects
/
platform
/
upstream
/
ltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f93dd74
)
DWARF parser now looks for exported types
author
Dima Kogan
<dima@secretsauce.net>
Mon, 28 Apr 2014 16:24:39 +0000
(09:24 -0700)
committer
Chanho Park
<chanho61.park@samsung.com>
Fri, 22 Aug 2014 11:38:25 +0000
(20:38 +0900)
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
patch
|
blob
|
history
diff --git
a/dwarf_prototypes.c
b/dwarf_prototypes.c
index
147f536
..
71f6e90
100644
(file)
--- 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,
fals
e);
+ protolib_lookup_type(plib, type_name,
tru
e);
if (already_defined_type != NULL) {
complain(type_die,