coredump: fix behavior when gencore fail
Change-Id: Ifdddf867b514f42a6f1ce374ec06b7550a9cdad5 Refs: #1511
This commit is contained in:
committed by
Masamichi Takagi
parent
7efb394905
commit
422a399f20
@@ -1169,7 +1169,7 @@ int coredump(struct thread *thread, void *regs, int sig)
|
||||
if ((ret = gencore(proc, &coretable, &chunks,
|
||||
proc->saved_cmdline, sig))) {
|
||||
kprintf("%s: ERROR: gencore returned %d\n", __func__, ret);
|
||||
goto out;
|
||||
goto skip;
|
||||
}
|
||||
|
||||
request.number = __NR_coredump;
|
||||
|
||||
Reference in New Issue
Block a user