mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-25 09:20:59 -08:00
(gdb_lisp_params): New enum type.
This commit is contained in:
parent
b74f15c657
commit
c9ddd39de4
1 changed files with 14 additions and 0 deletions
14
src/lisp.h
14
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue