diff options
| author | Gerd Moellmann | 1999-11-22 13:19:41 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-11-22 13:19:41 +0000 |
| commit | 30aa3f192ce48bf2229bb4445baf14d51bae8769 (patch) | |
| tree | 74b06ac60607cd7b21302caeefb0265738c748b8 | |
| parent | d0ee1a95da3dfbdfc95bf754fe820a00fb171ab0 (diff) | |
| download | emacs-30aa3f192ce48bf2229bb4445baf14d51bae8769.tar.gz emacs-30aa3f192ce48bf2229bb4445baf14d51bae8769.zip | |
(gdb_valbits, gdb_gctypebits, gdb_emacs_intbits)
(gdb_data_seg_bits): New variables.
| -rw-r--r-- | src/emacs.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 (); | |||
| 68 | extern void set_time_zone_rule (); | 68 | extern void set_time_zone_rule (); |
| 69 | extern char *index (); | 69 | extern char *index (); |
| 70 | 70 | ||
| 71 | /* Make these values available in GDB, which doesn't see macros. */ | ||
| 72 | |||
| 73 | EMACS_INT gdb_valbits = VALBITS; | ||
| 74 | EMACS_INT gdb_gctypebits = GCTYPEBITS; | ||
| 75 | EMACS_INT gdb_emacs_intbits = sizeof (EMACS_INT) * BITS_PER_CHAR; | ||
| 76 | #ifdef DATA_SEG_BITS | ||
| 77 | EMACS_INT gdb_data_seg_bits = DATA_SEG_BITS; | ||
| 78 | #else | ||
| 79 | EMACS_INT gdb_data_seg_bits = 0; | ||
| 80 | #endif | ||
| 81 | |||
| 71 | /* Command line args from shell, as list of strings */ | 82 | /* Command line args from shell, as list of strings */ |
| 72 | Lisp_Object Vcommand_line_args; | 83 | Lisp_Object Vcommand_line_args; |
| 73 | 84 | ||