This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix Darwin build error


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]