Don't write to inferior_ptid in go32-nat.c
[deliverable/binutils-gdb.git] / gdb / nat / x86-linux.c
index a75228699af966fc8eefe5378f7e76845b7f6abc..a2a4e2a621761dbc67337ffb5ae6d461d2bc3bee 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for GNU/Linux x86 (i386 and x86-64).
 
-   Copyright (C) 1999-2016 Free Software Foundation, Inc.
+   Copyright (C) 1999-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "common-defs.h"
+#include "gdbsupport/common-defs.h"
 #include "x86-linux.h"
 #include "x86-linux-dregs.h"
 
@@ -67,6 +67,14 @@ x86_linux_new_thread (struct lwp_info *lwp)
 
 /* See nat/x86-linux.h.  */
 
+void
+x86_linux_delete_thread (struct arch_lwp_info *arch_lwp)
+{
+  xfree (arch_lwp);
+}
+
+/* See nat/x86-linux.h.  */
+
 void
 x86_linux_prepare_to_resume (struct lwp_info *lwp)
 {
This page took 0.025534 seconds and 4 git commands to generate.