aboutsummaryrefslogtreecommitdiff
path: root/gdb/bsd-uthread.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
commita97b0ac8cf1c8a5148d8c79908a0ef9378891e31 (patch)
treee6cb06d4368752a06a3b14a3e1645b05e493cf6d /gdb/bsd-uthread.c
parentd80b854b33baf5ebc3940cd5928dc06c8708750d (diff)
downloadgdb-a97b0ac8cf1c8a5148d8c79908a0ef9378891e31.zip
gdb-a97b0ac8cf1c8a5148d8c79908a0ef9378891e31.tar.gz
gdb-a97b0ac8cf1c8a5148d8c79908a0ef9378891e31.tar.bz2
* 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/bsd-uthread.c')
-rw-r--r--gdb/bsd-uthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c
index e84e0f0..22962c0 100644
--- a/gdb/bsd-uthread.c
+++ b/gdb/bsd-uthread.c
@@ -159,7 +159,7 @@ bsd_uthread_read_memory_address (CORE_ADDR addr)
static int
bsd_uthread_activate (struct objfile *objfile)
{
- struct gdbarch *gdbarch = current_gdbarch;
+ struct gdbarch *gdbarch = target_gdbarch;
struct bsd_uthread_ops *ops = gdbarch_data (gdbarch, bsd_uthread_data);
/* Skip if the thread stratum has already been activated. */