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

Matthias Hopf mhopf at suse.de
Mon Oct 11 07:14:18 PDT 2010


On Oct 11, 10 06:20:10 -0500, Pat Kane wrote:
> 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.

Duly noted.

Adding additional debugger support is probably a second step. I'll have
to make the script quite a bit nicer in the first step anyway.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de


More information about the xorg-devel mailing list