X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fnat%2Faarch64-linux.h;h=cea7360a32f1f3b0edf8911c10673d20509c58c8;hb=e2ea3a381a4a7c739419a8b76a2fd132f7c1f9b1;hp=89eb4e3c2fdb82577b753a3dfe5503531a644986;hpb=ade90bdeb78ccaeb294e34af04751f2f649a324f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/nat/aarch64-linux.h b/gdb/nat/aarch64-linux.h index 89eb4e3c2f..cea7360a32 100644 --- a/gdb/nat/aarch64-linux.h +++ b/gdb/nat/aarch64-linux.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2009-2015 Free Software Foundation, Inc. +/* Copyright (C) 2009-2021 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. @@ -16,11 +16,14 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef AARCH64_LINUX_H -#define AARCH64_LINUX_H 1 +#ifndef NAT_AARCH64_LINUX_H +#define NAT_AARCH64_LINUX_H #include +/* Defines ps_err_e, struct ps_prochandle. */ +#include "gdb_proc_service.h" + typedef int compat_int_t; typedef unsigned int compat_uptr_t; @@ -119,4 +122,11 @@ void aarch64_linux_prepare_to_resume (struct lwp_info *lwp); void aarch64_linux_new_thread (struct lwp_info *lwp); -#endif /* AARCH64_LINUX_H */ +/* Function to call when a thread is being deleted. */ +void aarch64_linux_delete_thread (struct arch_lwp_info *arch_lwp); + +ps_err_e aarch64_ps_get_thread_area (struct ps_prochandle *ph, + lwpid_t lwpid, int idx, void **base, + int is_64bit_p); + +#endif /* NAT_AARCH64_LINUX_H */