Subject: re: CVS commit: src/usr.bin
To: matthew green <mrg@eterna.com.au>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 01/24/2003 08:53:08
On Jan 24, 6:17pm, mrg@eterna.com.au (matthew green) wrote:
-- Subject: re: CVS commit: src/usr.bin
seems to work. I did:
sleep 100 &
gcore <pid>
gdb /bin/sleep sleep.core
where
got nanosleep()
...
christos
| i'm going to assume you actually used gcore and debugged with the
| generated core file?
Yes, see above. You can try it too...
| unless something has changed, last i knew, calling "coredump()" from
| the wrong context (ie, gcore(1)'s) for a process would fail..
The only thing I am worried about is locking.
| if it does work... thanks! i've wanted this since before i was
| a developer...it just didn't work before.
Yes, I wanted this since it was taken out in NetBSD-1.2.
christos