Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix darwin build error
@ 2011-08-22 20:27 Josh Matthews
  2011-08-22 22:16 ` Sergio Durigan Junior
  0 siblings, 1 reply; 10+ messages in thread
From: Josh Matthews @ 2011-08-22 20:27 UTC (permalink / raw)
  To: gdb-patches

I hope this is the right way to do this. GDB currently doesn't build
on darwin, and this patch makes it do so.

gdb/
2011-08-22  Josh Matthews  <josh@joshmatthews.net>

	Fix build error in darwin port.

--- a/gdb/darwin-nat-info.c
+++ b/gdb/darwin-nat-info.c
@@ -620,6 +620,7 @@ darwin_debug_regions_recurse (task_t task)
   kern_return_t kret;
   int ret;
   struct cleanup *table_chain;
+  struct ui_out* uiout = current_uiout;

   table_chain = make_cleanup_ui_out_table_begin_end (uiout, 9, -1, "regions");


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH] Fix Darwin build error
@ 2012-01-31 22:00 Josh Matthews
  2012-02-01  9:27 ` Tristan Gingold
  0 siblings, 1 reply; 10+ messages in thread
From: Josh Matthews @ 2012-01-31 22:00 UTC (permalink / raw)
  To: gdb-patches

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"


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-02-01 10:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-22 20:27 [PATCH] Fix darwin build error 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
2012-01-31 22:00 [PATCH] Fix Darwin " Josh Matthews
2012-02-01  9:27 ` Tristan Gingold
2012-02-01 10:56   ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox