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


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");


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