aboutsummaryrefslogtreecommitdiff
path: root/gdb/darwin-nat-info.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-29 13:11:37 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-29 13:11:37 +0000
commitb08f1e8d6d0c824023e04fa0f379026fd4d56c72 (patch)
treec68865c935de26ccedc55f724ed4c3a62ccc27b2 /gdb/darwin-nat-info.c
parent6d10c194d78d93aa7f648c440c51c251db985feb (diff)
downloadgdb-b08f1e8d6d0c824023e04fa0f379026fd4d56c72.zip
gdb-b08f1e8d6d0c824023e04fa0f379026fd4d56c72.tar.gz
gdb-b08f1e8d6d0c824023e04fa0f379026fd4d56c72.tar.bz2
* darwin-nat-info.c (darwin_debug_regions_recurse): Use
target_gdbarch instead of current_gdbarch.
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");