Improve GDB symbol export.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Jul 2012 06:18:36 +0000 (23:18 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Jul 2012 06:18:36 +0000 (23:18 -0700)
commit4706125e2f5181d21c0e3b23b4aa5c96b21c3b67
treec0090748fa54145ac2a4b3ee08e800f0cd2ddf36
parent694b6c97ebb8310bc18dd305c2f277bcc11cebca
Improve GDB symbol export.

* .gdbinit (xgetptr, xgetint, xgettype): Set $bugfix in different
arms of an 'if', not using conditional expressions; otherwise GDB
complains about the types in the unevaluated arm when the argument
is an integer literal.
(xgetint): Simplify expression.
* alloc.c (gdb_make_enums_visible): New constant.  This ports to
GCC 3.4.2 the export of symbols to GDB.  Problem reported by Eli
Zaretskii in <http://bugs.gnu.org/1995-05-30T23:07:27Z!kwzh@gnu.org#13>.
* lisp.h (PUBLISH_TO_GDB): Remove.  All uses removed.  No longer
needed now that we have gdb_make_enums_visible.
(enum CHECK_LISP_OBJECT_TYPE, enum Lisp_Bits, enum More_Lisp_Bits)
(enum enum_USE_LSB_TAG):
New enum types, packaging up enums that need to be exported to GDB.
src/.gdbinit
src/ChangeLog
src/alloc.c
src/lisp.h