This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix darwin build error
- From: Josh Matthews <josh at joshmatthews dot net>
- To: gdb-patches at sourceware dot org
- Date: Mon, 22 Aug 2011 16:19:25 -0400
- Subject: [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");