Port the GDB-visible symbols to AIX.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 29 May 2014 05:31:43 +0000 (22:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 29 May 2014 05:31:43 +0000 (22:31 -0700)
commit3c975a330715db418e474d40f3acaa5658e4bb44
treeb905a4e42c4235adfa1ac316a3f020824ef17224
parentee6b43dc75639dcb2ba96cd756d8cf52412bac99
Port the GDB-visible symbols to AIX.

Without them, GDB doesn't work to debug Emacs, since the AIX linker
optimizes away the relevant external symbols.  Use enums instead;
this suffices for the AIX port, which is 32-bit-only anyway.
* lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them.
(ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
New macros.
src/ChangeLog
src/lisp.h