changeset 26532:9692309251b8

(gdb_valbits, gdb_gctypebits, gdb_emacs_intbits) (gdb_data_seg_bits): New variables.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 22 Nov 1999 13:19:41 +0000
parents a52135fe746e
children 18100552e1d4
files src/emacs.c
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Mon Nov 22 13:17:23 1999 +0000
+++ b/src/emacs.c	Mon Nov 22 13:19:41 1999 +0000
@@ -68,6 +68,17 @@
 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;