From: Karl Heuer Date: Mon, 22 May 1995 22:16:07 +0000 (+0000) Subject: (gdb_lisp_params): New enum type. X-Git-Tag: emacs-19.34~3985 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9ddd39de429c4e7f5390d9bcd65d7dcf41d4b35;p=emacs.git (gdb_lisp_params): New enum type. --- 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