* rs6000-tdep.c (rs6000_builtin_type_vec128): Add v2_double
[deliverable/binutils-gdb.git] / gdb / amd64-linux-nat.c
index 149ba2fc674576191499b31ea5b3ed86083b9ef7..7d8461c911659d2a5c5c409d45fe73bfc1fe9e2d 100644 (file)
@@ -341,7 +341,7 @@ ps_err_e
 ps_get_thread_area (const struct ps_prochandle *ph,
                     lwpid_t lwpid, int idx, void **base)
 {
-  if (gdbarch_ptr_bit (current_gdbarch) == 32)
+  if (gdbarch_ptr_bit (target_gdbarch) == 32)
     {
       /* The full structure is found in <asm-i386/ldt.h>.  The second
         integer is the LDT's base_address and that is used to locate
This page took 0.023866 seconds and 4 git commands to generate.