On Mon, Oct 17, 2005 at 01:51:47PM -0700, Bart Smaalders wrote: > >Understood, but unless someone changes the default coreadm settings, > >we have no core file to point at. > > I don't know of any solution to this problem that's portable to other > operating systems.... > > Probably the quickest & cheesiest way to handle this is for Xorg to fork and > exec pstack %pid from Xorg's signal handler while Xorg waits for pstack > to exit; once that happens Xorg can exit(2) from it's signal handler as > well.
That is cheesy! Slightly less cheesy might be to call the private function core_set_process_content() on yourself. In this way you could force the symbol table to be present. Alternatively you could add a call to coreadm(1M) to some wrapper script (Assuming there is one). Adam -- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
