diff options
Diffstat (limited to 'gdb/darwin-nat-info.c')
-rw-r--r-- | gdb/darwin-nat-info.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index 9741538..67e73e6 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -573,8 +573,8 @@ darwin_debug_regions (task_t task, mach_vm_address_t address, int max) if (print) { printf_filtered (_("%s-%s %s/%s %s %s %s"), - paddress (target_gdbarch, prev_address), - paddress (target_gdbarch, prev_address + prev_size), + paddress (target_gdbarch (), prev_address), + paddress (target_gdbarch (), prev_address + prev_size), unparse_protection (prev_info.protection), unparse_protection (prev_info.max_protection), unparse_inheritance (prev_info.inheritance), @@ -623,7 +623,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 (target_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"); @@ -659,8 +659,8 @@ darwin_debug_regions_recurse (task_t task) break; row_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "regions-row"); - ui_out_field_core_addr (uiout, "start", target_gdbarch, r_start); - ui_out_field_core_addr (uiout, "end", target_gdbarch, r_start + r_size); + ui_out_field_core_addr (uiout, "start", target_gdbarch (), r_start); + ui_out_field_core_addr (uiout, "end", target_gdbarch (), r_start + r_size); ui_out_field_string (uiout, "min-prot", unparse_protection (r_info.protection)); ui_out_field_string (uiout, "max-prot", |