Rename env var gdbStacks to OAI_GDBSTACKS

- make it clear that it belongs to OAI
- follow convention of uppercase name
This commit is contained in:
Robert Schmidt
2023-06-28 07:16:00 +02:00
parent 01d1a47adf
commit ba11dfba4e
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
#define OAI_EXIT_ASSERT 1
#define _Assert_Exit_ \
if (getenv("gdbStacks")) { \
if (getenv("OAI_GDBSTACKS")) { \
char tmp [1000]; \
sprintf(tmp,"gdb -ex='set confirm off' -ex 'thread apply all bt' -ex q -p %d < /dev/null", getpid()); \
__attribute__((unused)) int dummy=system(tmp); \