summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-12-31 14:21:53 +0000
committerEli Zaretskii <eliz@gnu.org>2005-12-31 14:21:53 +0000
commit6baa02d616a510f4f972537377a8946b8bf6fcac (patch)
tree405189531087d45a7dc702559b6a0034a99588e3 /src/emacs.c
parent8c3f3d642df65b2cc00a53054145efbdaa9b7549 (diff)
downloademacs-6baa02d616a510f4f972537377a8946b8bf6fcac.tar.gz
(gdb_pvec_type): A dummy variable for GDB's sake.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 25d9ae45730..71b12d5a407 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -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;