Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment