Commit 6ea8c375 authored by David Johnson's avatar David Johnson
Browse files

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 and 23 seconds
......@@ -7478,6 +7478,9 @@ static int __update_module(struct target *target,struct value *value,void *data)
goto errout;
tregion->binfile = debugfile->binfile;
/* The debugfile, etc, hold it now; we don't care. */
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 to comment