public inbox for gdb-testers@sourceware.org help / color / mirror / Atom feed
From: gdb-buildbot@sergiodj.net To: gdb-testers@sourceware.org Subject: [binutils-gdb] Move declaration of overload_debug to header Date: Mon, 14 Oct 2019 19:47:00 -0000 [thread overview] Message-ID: <79bb1944d63eb04f86cfacc62321c1062c292ac0@gdb-build> (raw) *** TEST RESULTS FOR COMMIT 79bb1944d63eb04f86cfacc62321c1062c292ac0 *** commit 79bb1944d63eb04f86cfacc62321c1062c292ac0 Author: Christian Biesinger <cbiesinger@google.com> AuthorDate: Mon Oct 7 14:40:32 2019 -0500 Commit: Christian Biesinger <cbiesinger@google.com> CommitDate: Tue Oct 8 10:16:48 2019 -0500 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. diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 20a001e370..49b468d695 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * language.c (show_language_command): Pass lang_frame_mismatch_warn diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index afda89e43f..a2b81c8690 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -118,8 +118,7 @@ const struct floatformat *floatformats_ibm_long_double[BFD_ENDIAN_UNKNOWN] = { 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; diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index c62b8a31ba..d431cb6fdd 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -2146,4 +2146,9 @@ extern int type_not_allocated (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 */ diff --git a/gdb/valops.c b/gdb/valops.c index fc7a4c5918..4c8efd90fb 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -39,9 +39,9 @@ #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,
next reply other threads:[~2019-10-14 19:47 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-10-14 19:47 gdb-buildbot [this message] 2019-10-14 19:47 ` Failures on Ubuntu-Aarch64-m64, branch master gdb-buildbot 2019-10-14 21:15 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot 2019-10-14 21:53 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot 2019-10-20 16:14 ` Failures on Fedora-i686, " gdb-buildbot 2019-10-20 17:02 ` Failures on Fedora-x86_64-m32, " gdb-buildbot 2019-10-20 17:22 ` Failures on Fedora-x86_64-m64, " gdb-buildbot 2019-10-20 17:56 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot 2019-10-20 19:09 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=79bb1944d63eb04f86cfacc62321c1062c292ac0@gdb-build \ --to=gdb-buildbot@sergiodj.net \ --cc=gdb-testers@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).