Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon McVittie
libcapsule
Commits
9cacbbf9
Commit
9cacbbf9
authored
Dec 20, 2017
by
Vivek Das Mohapatra
Browse files
Debug intra-capsule relocations when DEBUG_WRAPPERS is set
parent
8987e6f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
capsule/capsule-dlmopen.c
View file @
9cacbbf9
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment