This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix Darwin build error
- From: Tristan Gingold <gingold at adacore dot com>
- To: Josh Matthews <josh at joshmatthews dot net>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 1 Feb 2012 10:27:41 +0100
- Subject: Re: [PATCH] Fix Darwin build error
- References: <CAOvJiVXO5y3CG7dh5cEDwYVikpsKnN=phr=bgRYfR5peECasHQ@mail.gmail.com>
On Jan 31, 2012, at 9:18 PM, Josh Matthews wrote:
> Darwin is busted again. Here's a fix.
Ok (and obvious).
Tristan.
>
> 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"