On Sun, Oct 16, 2005 at 10:46:20PM -0700, Rod Evans wrote:
> I (and the debugging folks) have come across a number of applications
> who try and print stack traces on a fatal error, and then prevent any
> core from being produced at all.  Historic issues like the core being
> too large to leave in the cwd, or the core not being debuggable in
> different system environments, have now changed.  coreadm(1) exists, and
> core files can contain every segment of the original image.

With coreadm(1M, you can, indeed, include data from whatever segments
you want in the core file -- including the read-only data will get you
the .dynsym section. You can also include the .symtab section, but,
unlike text, is not included by default.

Adam

-- 
Adam Leventhal, Solaris Kernel Development       http://blogs.sun.com/ahl

Reply via email to