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] Define _KERNTYPES in vax-bsd-nat.c
Date: Sun, 29 Mar 2020 05:53:55 -0400	[thread overview]
Message-ID: <25567eeece4efdea99a9a2b3a6daf81ec31b4b07@gdb-build> (raw)

*** TEST RESULTS FOR COMMIT 25567eeece4efdea99a9a2b3a6daf81ec31b4b07 ***

commit 25567eeece4efdea99a9a2b3a6daf81ec31b4b07
Author:     Kamil Rytarowski <n54@gmx.com>
AuthorDate: Sat Mar 14 12:20:01 2020 +0100
Commit:     Kamil Rytarowski <n54@gmx.com>
CommitDate: Sat Mar 14 12:20:01 2020 +0100

    Define _KERNTYPES in vax-bsd-nat.c
    
    Fixes build on NetBSD. types.h does not define register_t by default.
    
    gdb/ChangeLog:
    
            * vax-bsd-nat.c: Define _KERNTYPES to get the declaration of
            register_t.

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a4ed994440..08786335f5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+	* vax-bsd-nat.c: Define _KERNTYPES to get the declaration of
+	register_t.
+
 2020-03-13  Tom Tromey  <tom@tromey.com>
 
 	* value.h (val_print): Don't declare.
diff --git a/gdb/vax-bsd-nat.c b/gdb/vax-bsd-nat.c
index 899f3e3ed9..652f335c1c 100644
--- a/gdb/vax-bsd-nat.c
+++ b/gdb/vax-bsd-nat.c
@@ -17,6 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+/* We define this to get types like register_t.  */
+#define _KERNTYPES
 #include "defs.h"
 #include "inferior.h"
 #include "regcache.h"


             reply	other threads:[~2020-03-29  9:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-29  9:53 gdb-buildbot [this message]
2020-03-29  9:53 ` Failures on Fedora-x86_64-cc-with-index, branch master gdb-buildbot
2020-03-29  9:54 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
2020-03-29 10:24 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
2020-03-29 10:40 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
2020-03-29 11:06 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2020-04-01 18:55 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
2020-04-01 21:27 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
2020-04-02 14:33 ` Failures on Ubuntu-Aarch64-native-extended-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=25567eeece4efdea99a9a2b3a6daf81ec31b4b07@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: link
Be 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).