(gdb_pvec_type): A dummy variable for GDB's sake.
authorEli Zaretskii <eliz@gnu.org>
Sat, 31 Dec 2005 14:21:53 +0000 (14:21 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 Dec 2005 14:21:53 +0000 (14:21 +0000)
src/emacs.c

index 25d9ae4..71b12d5 100644 (file)
@@ -112,6 +112,9 @@ EMACS_INT gdb_data_seg_bits = 0;
 #endif
 EMACS_INT PVEC_FLAG = PSEUDOVECTOR_FLAG;
 EMACS_INT gdb_array_mark_flag = ARRAY_MARK_FLAG;
+/* GDB might say "No enum type named pvec_type" if we don't have at
+   least one symbol with that type, and then xbacktrace could fail.  */
+enum pvec_type gdb_pvec_type = PVEC_TYPE_MASK;
 
 /* Command line args from shell, as list of strings.  */
 Lisp_Object Vcommand_line_args;