* darwin-nat-info.c (darwin_debug_regions_recurse): Use
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 29 Jun 2009 13:11:37 +0000 (13:11 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Mon, 29 Jun 2009 13:11:37 +0000 (13:11 +0000)
target_gdbarch instead of current_gdbarch.

gdb/ChangeLog
gdb/darwin-nat-info.c

index d00887d6540b0fcb009bee7e5770fc07059cd8a8..9652e9264bccfed0be184e3fc2ff2706a2ba9c89 100644 (file)
@@ -1,3 +1,8 @@
+2009-06-29  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * darwin-nat-info.c (darwin_debug_regions_recurse): Use
+       target_gdbarch instead of current_gdbarch.
+
 2009-06-29  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * Makefile.in (ALL_64_TARGET_OBS): Add amd64-windows-tdep.o.
index 3b1400657a4823fb74198de0b35431ce1b7d2b9e..bcedce0816360ce9442a6d3a3fa9edc3d291e415 100644 (file)
@@ -625,7 +625,7 @@ darwin_debug_regions_recurse (task_t task)
 
   table_chain = make_cleanup_ui_out_table_begin_end (uiout, 9, -1, "regions");
 
-  if (gdbarch_addr_bit (current_gdbarch) <= 32)
+  if (gdbarch_addr_bit (target_gdbarch) <= 32)
     {
       ui_out_table_header (uiout, 10, ui_left, "start", "Start");
       ui_out_table_header (uiout, 10, ui_left, "end", "End");