X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fnat%2Fx86-linux.h;h=9a2a28a38afc5f0dcaf64d3451e6ec7dd1b78f50;hb=60db1b8565060f4bd2287b060ea9724c93289982;hp=327a005a465da24bba20285e53e558d804bd76d4;hpb=369f6daa21bf33a09ef67b002e4cec3595eddfe7;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/nat/x86-linux.h b/gdb/nat/x86-linux.h index 327a005a46..9a2a28a38a 100644 --- a/gdb/nat/x86-linux.h +++ b/gdb/nat/x86-linux.h @@ -1,6 +1,6 @@ /* Native-dependent code for GNU/Linux x86 (i386 and x86-64). - Copyright (C) 1999-2015 Free Software Foundation, Inc. + Copyright (C) 1999-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef X86_LINUX_H -#define X86_LINUX_H +#ifndef NAT_X86_LINUX_H +#define NAT_X86_LINUX_H #include "nat/linux-nat.h" @@ -39,8 +39,12 @@ extern int lwp_debug_registers_changed (struct lwp_info *lwp); extern void x86_linux_new_thread (struct lwp_info *lwp); +/* Function to call when a thread is being deleted. */ + +extern void x86_linux_delete_thread (struct arch_lwp_info *arch_lwp); + /* Function to call prior to resuming a thread. */ extern void x86_linux_prepare_to_resume (struct lwp_info *lwp); -#endif /* X86_LINUX_H */ +#endif /* NAT_X86_LINUX_H */