Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Josh Matthews <josh@joshmatthews.net>
To: gdb-patches@sourceware.org
Subject: [PATCH] Fix Darwin build error
Date: Tue, 31 Jan 2012 22:00:00 -0000	[thread overview]
Message-ID: <CAOvJiVXO5y3CG7dh5cEDwYVikpsKnN=phr=bgRYfR5peECasHQ@mail.gmail.com> (raw)

Darwin is busted again. Here's a fix.

Cheers,
Josh

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index daf970c..105e6e5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-31  Josh Matthews  <josh@joshmatthews.net>
+
+       Fix build error in Darwin port.
+       * i386-darwin-nat.c: Include i386-nat.h.
+
 2012-01-31  Tom Tromey  <tromey@redhat.com>

        * language.h (struct language_defn) <la_iterate_over_symbols>: Fix
diff --git a/gdb/i386-darwin-nat.c b/gdb/i386-darwin-nat.c
index 12e2e65..a4f11e0 100644
--- a/gdb/i386-darwin-nat.c
+++ b/gdb/i386-darwin-nat.c
@@ -19,6 +19,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

 #include "defs.h"
+#include "i386-nat.h"
 #include "frame.h"
 #include "inferior.h"
 #include "target.h"


             reply	other threads:[~2012-01-31 20:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31 22:00 Josh Matthews [this message]
2012-02-01  9:27 ` Tristan Gingold
2012-02-01 10:56   ` Joel Brobecker
  -- strict thread matches above, loose matches on Subject: below --
2011-08-22 20:27 [PATCH] Fix darwin " Josh Matthews
2011-08-22 22:16 ` Sergio Durigan Junior
2011-08-23 19:43   ` Jan Kratochvil
2011-08-23 20:47     ` Josh Matthews
2011-08-23 20:53       ` Keith Seitz
2011-08-23 20:57       ` Jan Kratochvil
2011-08-23 22:06       ` Sergio Durigan Junior

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='CAOvJiVXO5y3CG7dh5cEDwYVikpsKnN=phr=bgRYfR5peECasHQ@mail.gmail.com' \
    --to=josh@joshmatthews.net \
    --cc=gdb-patches@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