From 30aa3f192ce48bf2229bb4445baf14d51bae8769 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 22 Nov 1999 13:19:41 +0000 Subject: [PATCH] (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits) (gdb_data_seg_bits): New variables. --- src/emacs.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/emacs.c b/src/emacs.c index 192b308bbc0..e33d3c31d31 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -68,6 +68,17 @@ extern void malloc_warning (); extern void set_time_zone_rule (); extern char *index (); +/* Make these values available in GDB, which doesn't see macros. */ + +EMACS_INT gdb_valbits = VALBITS; +EMACS_INT gdb_gctypebits = GCTYPEBITS; +EMACS_INT gdb_emacs_intbits = sizeof (EMACS_INT) * BITS_PER_CHAR; +#ifdef DATA_SEG_BITS +EMACS_INT gdb_data_seg_bits = DATA_SEG_BITS; +#else +EMACS_INT gdb_data_seg_bits = 0; +#endif + /* Command line args from shell, as list of strings */ Lisp_Object Vcommand_line_args; -- 2.39.5