Start working through proper handling of pthreads when
debugging Linux core dumps. Pthreads for active processes is still not supported, nor are other systems.
This commit is contained in:
parent
a0e8d02d09
commit
dd944ec72a
14 changed files with 528 additions and 415 deletions
|
|
@ -42,10 +42,11 @@ _delhdr(Fhdr *h)
|
|||
else{
|
||||
for(p=fhdrlist; p && p->next!=h; p=p->next)
|
||||
;
|
||||
if(p)
|
||||
if(p){
|
||||
p->next = h->next;
|
||||
if(p->next == nil)
|
||||
last = p;
|
||||
if(p->next == nil)
|
||||
last = p;
|
||||
}
|
||||
}
|
||||
h->next = nil;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue