Commit 6ea8c375 by David Johnson

Hold a copy of the kernel module binfile in the module region.

(This is a sort of manual thing, and it just wasn't being done here.
All this binfile handling should probably be refactored to wrap some of
this detail away...)
parent 513b8f9c
Pipeline #2175 passed with stages
in 5 minutes 23 seconds
......@@ -7478,6 +7478,9 @@ static int __update_module(struct target *target,struct value *value,void *data)
goto errout;
}
tregion->binfile = debugfile->binfile;
RHOLD(debugfile->binfile,tregion);
/* The debugfile, etc, hold it now; we don't care. */
binfile_instance_release(bfi);
bfi = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment