diff options
Diffstat (limited to 'gdb/amd64-linux-nat.c')
-rw-r--r-- | gdb/amd64-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c index 6571be4..f7f9a48 100644 --- a/gdb/amd64-linux-nat.c +++ b/gdb/amd64-linux-nat.c @@ -337,7 +337,7 @@ ps_err_e ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base) { - if (gdbarch_bfd_arch_info (ph->thread->inf->gdbarch)->bits_per_word == 32) + if (gdbarch_bfd_arch_info (ph->thread->inf->arch ())->bits_per_word == 32) { unsigned int base_addr; ps_err_e result; |