gdb/ChangeLog:
2019-10-08 Christian Biesinger <cbiesinger@google.com>
* gdbtypes.c (overload_debug): Move comment to header.
* gdbtypes.h (overload_debug): Declare.
* valops.c: Remove declaration of overload_debug, instead
include gdbtypes.h.
+2019-10-08 Christian Biesinger <cbiesinger@google.com>
+
+ * gdbtypes.c (overload_debug): Move comment to header.
+ * gdbtypes.h (overload_debug): Declare.
+ * valops.c: Remove declaration of overload_debug, instead
+ include gdbtypes.h.
+
2019-10-08 Christian Biesinger <cbiesinger@google.com>
* language.c (show_language_command): Pass lang_frame_mismatch_warn
static bool opaque_type_resolution = true;
-/* A flag to enable printing of debugging information of C++
- overloading. */
+/* See gdbtypes.h. */
unsigned int overload_debug = 0;
extern int type_not_associated (const struct type *type);
+/* A flag to enable printing of debugging information of C++
+ overloading. */
+
+extern unsigned int overload_debug;
+
#endif /* GDBTYPES_H */
#include "observable.h"
#include "objfiles.h"
#include "extension.h"
+#include "gdbtypes.h"
#include "gdbsupport/byte-vector.h"
-extern unsigned int overload_debug;
/* Local functions. */
static int typecmp (int staticp, int varargs, int nargs,