aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-06-03 22:06:55 +0200
committerSimon Marchi <simon.marchi@ericsson.com>2017-06-03 22:06:55 +0200
commit26b6a6aba5567143ed0f59388663b8f50e5cfcab (patch)
treebb571fbf94df212f6a22b08eeb19a8a7ac3979fc /gdb
parent22827c51338ce25574ed7b204a2e5bd40f45bdad (diff)
downloadgdb-26b6a6aba5567143ed0f59388663b8f50e5cfcab.zip
gdb-26b6a6aba5567143ed0f59388663b8f50e5cfcab.tar.gz
gdb-26b6a6aba5567143ed0f59388663b8f50e5cfcab.tar.bz2
x86-linux-nat: Remove unused arch_lwp_info structure
The structure arch_lwp_info for x86 is not used, remove it. gdb/ChangeLog: * x86-linux-nat.c (struct arch_lwp_info): Remove.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/x86-linux-nat.c10
2 files changed, 4 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index af13bf2..7fe5334 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/x86-linux-nat.c b/gdb/x86-linux-nat.c
index 40a1b62..7362282 100644
--- a/gdb/x86-linux-nat.c
+++ b/gdb/x86-linux-nat.c
@@ -43,16 +43,6 @@
#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;
-};
-
-
-
/* linux_nat_new_fork hook. */
static void