x86-linux-nat: Remove unused arch_lwp_info structure
authorSimon Marchi <simon.marchi@ericsson.com>
Sat, 3 Jun 2017 20:06:55 +0000 (22:06 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Sat, 3 Jun 2017 20:06:55 +0000 (22:06 +0200)
The structure arch_lwp_info for x86 is not used, remove it.

gdb/ChangeLog:

* x86-linux-nat.c (struct arch_lwp_info): Remove.

gdb/ChangeLog
gdb/x86-linux-nat.c

index af13bf2..7fe5334 100644 (file)
@@ -1,3 +1,7 @@
+2017-06-03  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * x86-linux-nat.c (struct arch_lwp_info): Remove.
+
 2017-06-03  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * linux-nat.c (linux_nat_post_attach_wait): Remove FIRST
index 40a1b62..7362282 100644 (file)
 #include "nat/x86-linux-dregs.h"
 #include "nat/linux-ptrace.h"
 
-/* Per-thread arch-specific data we want to keep.  */
-
-struct arch_lwp_info
-{
-  /* Non-zero if our copy differs from what's recorded in the thread.  */
-  int debug_registers_changed;
-};
-
-\f
-
 /* linux_nat_new_fork hook.   */
 
 static void