The AIX linker pointed out that gdb had multiple definitions of the
various *_varobj_ops objects. This patch fixes the problem by marking
the declarations as "extern" in varobj.h. Tested by rebuilding on
x86-64 Fedora 18 and on AIX.
2014-02-20 Tom Tromey <tromey@redhat.com>
* varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
(ada_varobj_ops): Mark "extern".
2014-02-20 Tom Tromey <tromey@redhat.com>
+ * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
+ (ada_varobj_ops): Mark "extern".
+
+2014-02-20 Tom Tromey <tromey@redhat.com>
+
* dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2014-02-20 Doug Evans <xdje42@gmail.com>
struct type *new_type);
};
-const struct lang_varobj_ops c_varobj_ops;
-const struct lang_varobj_ops cplus_varobj_ops;
-const struct lang_varobj_ops java_varobj_ops;
-const struct lang_varobj_ops ada_varobj_ops;
+extern const struct lang_varobj_ops c_varobj_ops;
+extern const struct lang_varobj_ops cplus_varobj_ops;
+extern const struct lang_varobj_ops java_varobj_ops;
+extern const struct lang_varobj_ops ada_varobj_ops;
#define default_varobj_ops c_varobj_ops
/* API functions */