From: Ulrich Weigand Date: Mon, 29 Jun 2009 13:11:37 +0000 (+0000) Subject: * darwin-nat-info.c (darwin_debug_regions_recurse): Use X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b08f1e8d6d0c824023e04fa0f379026fd4d56c72;p=binutils-gdb.git * darwin-nat-info.c (darwin_debug_regions_recurse): Use target_gdbarch instead of current_gdbarch. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d00887d6540..9652e9264bc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-06-29 Ulrich Weigand + + * darwin-nat-info.c (darwin_debug_regions_recurse): Use + target_gdbarch instead of current_gdbarch. + 2009-06-29 Ulrich Weigand * Makefile.in (ALL_64_TARGET_OBS): Add amd64-windows-tdep.o. diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index 3b1400657a4..bcedce08163 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -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");