[PATCH] Use external tool for creating backtraces on crashes if available.

Pat Kane pekane52 at gmail.com
Mon Oct 11 04:20:10 PDT 2010


On Mon, Oct 11, 2010 at 4:50 AM, Matthias Hopf <mhopf at suse.de> wrote:
  > What do you think - would it make sense to call gdb on solaris if it is
  > installed, or always pstack?

My Solaris preference is to call stack dumpers in this order[1]:
    mdb, gdb, adb, pstack
it  would be nice if the script that dumps the stack would also
dump the registers and a few asm. lines around the machine
instruction that faulted, I can provide those mdb lines.

 Pat
---
[1]   although if a customer tells me the found a core file, I tell them to
       send me the output of "/usr/proc/bib/pstack  core" since it is so easy
       to use.


More information about the xorg-devel mailing list