public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrea Monaco <andrea.monaco@autistici.org>
To: gdb@sourceware.org
Subject: gdb 11.1: struct inf lacks two members
Date: Wed, 03 Nov 2021 00:11:37 +0100	[thread overview]
Message-ID: <87h7cudufq.fsf@autistici.org> (raw)


Hello,


after a successful configure, gdb 11.1 fails to make in my GNU/Hurd
system with the following errors:


  CXX    gnu-nat.o
gnu-nat.c: In member function 'virtual void gnu_nat_target::create_inferior(const char*, const string&, char**, int)':
gnu-nat.c:2117:13: error: 'struct inf' has no member named 'target_is_pushed'
 2117 |   if (!inf->target_is_pushed (this))
      |             ^~~~~~~~~~~~~~~~
gnu-nat.c:2118:10: error: 'struct inf' has no member named 'push_target'
 2118 |     inf->push_target (this);
      |          ^~~~~~~~~~~


and some others follow.  I found out that struct inf (from gnu-nat.c) is
only defined in the GNU/Hurd target, but it lacks the target_is_pushed
and push_target members which are part of class inferior (from
inferior.h).  Is this a syntax error?



Let me know,

Andrea Monaco

             reply	other threads:[~2021-11-02 23:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 23:11 Andrea Monaco [this message]
2021-11-03  0:35 ` Simon Marchi

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=87h7cudufq.fsf@autistici.org \
    --to=andrea.monaco@autistici.org \
    --cc=gdb@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).