make grep's path adjustable for PANICTRACE + more bits

Mac OS X doesn't have /bin/grep, only /usr/bin/grep.  Grr.
Don't try to parse PANICTRACE_GLIBC if the field doesn't exist.
This commit is contained in:
keni
2010-01-17 19:36:16 +00:00
parent efed004b64
commit 9cd309157b
6 changed files with 19 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ struct sysopt {
#ifdef PANICTRACE
/* panic options */
char *gdbpath;
char *greppath;
int panictrace_gdb;
# ifdef PANICTRACE_GLIBC
int panictrace_glibc;