From c9ddd39de429c4e7f5390d9bcd65d7dcf41d4b35 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 22 May 1995 22:16:07 +0000 Subject: [PATCH] (gdb_lisp_params): New enum type. --- src/lisp.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/lisp.h b/src/lisp.h index 5422538a39d..3a7b60cbf97 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -96,6 +96,20 @@ enum Lisp_Misc_Type #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 -- 2.39.2