aboutsummaryrefslogtreecommitdiff
path: root/gdb/darwin-nat-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/darwin-nat-info.c')
-rw-r--r--gdb/darwin-nat-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c
index 3b14006..bcedce0 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");