Commit 9cacbbf9 authored by Vivek Das Mohapatra's avatar Vivek Das Mohapatra
Browse files

Debug intra-capsule relocations when DEBUG_WRAPPERS is set

parent 8987e6f6
......@@ -197,6 +197,11 @@ static int install_wrappers ( void *dl_handle,
while( map->l_prev )
map = map->l_prev;
unsigned long df = debug_flags;
if( debug_flags & DEBUG_WRAPPERS )
debug_flags |= DEBUG_RELOCS;
if (map->l_next)
{
for( struct link_map *m = map; m; m = m->l_next )
......@@ -213,6 +218,8 @@ static int install_wrappers ( void *dl_handle,
}
}
debug_flags = df;
return replacements;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment