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:
rsc 2005-01-23 22:33:04 +00:00
parent a0e8d02d09
commit dd944ec72a
14 changed files with 528 additions and 415 deletions

View file

@ -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))