* darwin-nat-info.c (darwin_debug_regions_recurse): Use

target_gdbarch instead of current_gdbarch.
This commit is contained in:
Ulrich Weigand 2009-06-29 13:11:37 +00:00
parent 6d10c194d7
commit b08f1e8d6d
2 changed files with 6 additions and 1 deletions

View 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.

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