mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 13:23:00 +08:00
Move declaration of overload_debug to header
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.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
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>
|
2019-10-08 Christian Biesinger <cbiesinger@google.com>
|
||||||
|
|
||||||
* language.c (show_language_command): Pass lang_frame_mismatch_warn
|
* language.c (show_language_command): Pass lang_frame_mismatch_warn
|
||||||
|
@ -118,8 +118,7 @@ const struct floatformat *floatformats_ibm_long_double[BFD_ENDIAN_UNKNOWN] = {
|
|||||||
|
|
||||||
static bool opaque_type_resolution = true;
|
static bool opaque_type_resolution = true;
|
||||||
|
|
||||||
/* A flag to enable printing of debugging information of C++
|
/* See gdbtypes.h. */
|
||||||
overloading. */
|
|
||||||
|
|
||||||
unsigned int overload_debug = 0;
|
unsigned int overload_debug = 0;
|
||||||
|
|
||||||
|
@ -2146,4 +2146,9 @@ extern int type_not_allocated (const struct type *type);
|
|||||||
|
|
||||||
extern int type_not_associated (const struct type *type);
|
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 */
|
#endif /* GDBTYPES_H */
|
||||||
|
@ -39,9 +39,9 @@
|
|||||||
#include "observable.h"
|
#include "observable.h"
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "extension.h"
|
#include "extension.h"
|
||||||
|
#include "gdbtypes.h"
|
||||||
#include "gdbsupport/byte-vector.h"
|
#include "gdbsupport/byte-vector.h"
|
||||||
|
|
||||||
extern unsigned int overload_debug;
|
|
||||||
/* Local functions. */
|
/* Local functions. */
|
||||||
|
|
||||||
static int typecmp (int staticp, int varargs, int nargs,
|
static int typecmp (int staticp, int varargs, int nargs,
|
||||||
|
Reference in New Issue
Block a user