PANICTRACE (stacktrace on panic or signal) + bits
On crash signal or panic(), use a configurable method to get a stacktrace the user can easily report to us. Currently only for Unix/Linux and only ifdef BETA. Hopefully ports can add additional methods. Bits: - linux hints file had PREFIX definition in the wrong place - sample sysconf file used wrong delimiter for WIZARDS - fix grammar error in support message when using sysconf.wizards - options.c comment typo - capitalize "Crash test" output from #panic command
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/* NetHack 3.5 sys.h $Date$ $Revision$ */
|
||||
/* SCCS Id: @(#)sys.h 3.5 2008/01/30 */
|
||||
/* Copyright (c) Kenneth Lorber, Kensington, Maryland, 2008. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -21,6 +20,14 @@ struct sysopt {
|
||||
int pers_is_uid;
|
||||
int entrymax;
|
||||
int pointsmin;
|
||||
#ifdef PANICTRACE
|
||||
/* panic options */
|
||||
char *gdbpath;
|
||||
int panictrace_gdb;
|
||||
# ifdef PANICTRACE_GLIBC
|
||||
int panictrace_glibc;
|
||||
# endif
|
||||
#endif
|
||||
};
|
||||
E struct sysopt sysopt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user