summaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:44:23 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:44:23 +0000
commit8009d4d75e20fa899aebfa052dbf20618c8da6c9 (patch)
treee9650e9637814803cc64f61277974b19ccc893d4 /gdb/linux-nat.c
parent62d99c16354a94e887c9380a407e7c72e8ce9a77 (diff)
downloadgdb-8009d4d75e20fa899aebfa052dbf20618c8da6c9.tar.gz
* ada-tasks.c (read_known_tasks_array): Use target_gdbarch instead
of current_gdbarch. * aix-thread.c (pd_enable): Likewise. * amd64-linux-nat.c (ps_get_thread_area): Likewise. * bsd-uthread.c (bsd_uthread_activate): Likewise. * linux-nat.c (linux_nat_info_proc_cmd): Likewise. * linux-thread-db.c (enable_thread_event): Likewise. * monitor.c (monitor_write_memory, monitor_read_memory): Likewise. * nto-procfs.c (procfs_open): Likewise. * procfs.c (invalidate_cache, procfs_insert_watchpoint, info_proc_mappings, info_mappings_callback): Likewise. * record.c (record_open): Likewise. * rs6000-nat.c (ARCH64): Likewise. * solib-darwin.c (darwin_solib_create_inferior_hook): Likewise. (darwin_bfd_open): Likewise. * memattr.c (mem_info_command): Likewise. * windows-nat.c (win32_resume): Use current regcache architecture instead of current_gdbarch. * dbug-rom.c (dbug_regname): Remove check against number of registers in current_gdbarch. * solib-pa64.c (read_dynamic_info): Remove unused variable.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index e9e010ea8a8..35114ce3051 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -3791,7 +3791,7 @@ linux_nat_info_proc_cmd (char *args, int from_tty)
cleanup = make_cleanup_fclose (procfile);
printf_filtered (_("Mapped address spaces:\n\n"));
- if (gdbarch_addr_bit (current_gdbarch) == 32)
+ if (gdbarch_addr_bit (target_gdbarch) == 32)
{
printf_filtered ("\t%10s %10s %10s %10s %7s\n",
"Start Addr",
@@ -3817,7 +3817,7 @@ linux_nat_info_proc_cmd (char *args, int from_tty)
a generic local_address_string instead to print out
the addresses; that makes sense to me, too. */
- if (gdbarch_addr_bit (current_gdbarch) == 32)
+ if (gdbarch_addr_bit (target_gdbarch) == 32)
{
printf_filtered ("\t%#10lx %#10lx %#10x %#10x %7s\n",
(unsigned long) addr, /* FIXME: pr_addr */