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
|
|
@ -31,7 +31,7 @@ addseg(Map *map, Seg seg)
|
|||
{
|
||||
Seg *ss;
|
||||
|
||||
if(map == 0){
|
||||
if(map == nil){
|
||||
werrstr("invalid map");
|
||||
return -1;
|
||||
}
|
||||
|
|
@ -57,7 +57,7 @@ findseg(Map *map, char *name, char *file)
|
|||
{
|
||||
int i;
|
||||
|
||||
if(map == 0)
|
||||
if(map == nil)
|
||||
return -1;
|
||||
for(i=0; i<map->nseg; i++){
|
||||
if(name && (!map->seg[i].name || strcmp(map->seg[i].name, name) != 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue