cvs commit: src/usr.bin/truss Makefile amd64-fbsd.c extern.h i386-fbsd.c i386-linux.c ia64-fbsd.c main.c powerpc-fbsd.c setup.c sparc64-fbsd.c syscall.h syscalls.c truss.1 truss.h

Ed Maste ed.maste at gmail.com
Wed Apr 11 20:46:20 UTC 2007


On 11/04/07, Alfred Perlstein <alfred at freebsd.org> wrote:
> * Ed Maste <ed.maste at gmail.com> [070410 12:47] wrote:
> > This would make the -s option to gcore redundant (since the process
> > will be stopped after attaching anyway).  I don't know how useful a
> > core from a non-stopped process is, anyhow.
>
> Very, very useful.
>
> Imagine a running program that's having some form of abnormal
> behavior but can't be stopped (for long) or allowed to core...

It's stopped for only as long as the core takes to be written.

Currently, without the -s option the core produced by gcore is
inconsistent, and it's that behaviour that would be eliminated with my
change.  Do you actually have a use for inconsistent core files?

-ed


More information about the cvs-src mailing list