changeset 11873:6ac51c0face8

(gdb_lisp_params): New enum type.
author Karl Heuer <kwzh@gnu.org>
date Mon, 22 May 1995 22:16:07 +0000
parents a28bd38b2ff3
children b8de94b7c91f
files src/lisp.h
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Mon May 22 22:15:45 1995 +0000
+++ b/src/lisp.h	Mon May 22 22:16:07 1995 +0000
@@ -96,6 +96,20 @@
 #define GCTYPEBITS 3
 #endif
 
+/* Make these values available in GDB, which sees enums but not macros.  */
+
+enum gdb_lisp_params
+{
+  gdb_valbits = VALBITS,
+  gdb_gctypebits = GCTYPEBITS,
+  gdb_emacs_intbits = sizeof (EMACS_INT) * INTBITS / sizeof (int),
+#ifdef DATA_SEG_BITS
+  gdb_data_seg_bits = DATA_SEG_BITS
+#else
+  gdb_data_seg_bits = 0
+#endif
+};
+
 #ifndef NO_UNION_TYPE
 
 #ifndef WORDS_BIG_ENDIAN