changeset 67958:ebf8e8b846e6

(gdb_pvec_type): A dummy variable for GDB's sake.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 31 Dec 2005 14:21:53 +0000
parents cbb3942260ab
children 92537f32d9ed
files src/emacs.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Sat Dec 31 13:51:27 2005 +0000
+++ b/src/emacs.c	Sat Dec 31 14:21:53 2005 +0000
@@ -112,6 +112,9 @@
 #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;