From: Gerd Moellmann Date: Mon, 22 Nov 1999 13:19:41 +0000 (+0000) Subject: (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits) X-Git-Tag: emacs-pretest-21.0.90~6027 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=30aa3f192ce48bf2229bb4445baf14d51bae8769;p=emacs.git (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits) (gdb_data_seg_bits): New variables. --- 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;