Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/usr.bin



On Jan 24,  6:17pm, mrg%eterna.com.au@localhost (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



Home | Main Index | Thread Index | Old Index