diff options
Diffstat (limited to 'gdb/aarch64-linux-nat.c')
-rw-r--r-- | gdb/aarch64-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c index c4ddad5..628ffe8 100644 --- a/gdb/aarch64-linux-nat.c +++ b/gdb/aarch64-linux-nat.c @@ -848,7 +848,7 @@ aarch64_linux_get_debug_reg_capacity (ptid_t ptid) struct iovec iov; struct user_hwdebug_state dreg_state; - tid = get_thread_id (ptid); + tid = ptid_get_pid (ptid); iov.iov_base = &dreg_state; iov.iov_len = sizeof (dreg_state); |