public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] x86-linux-nat: Remove unused arch_lwp_info structure
@ 2017-06-03 20:12 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2017-06-03 20:12 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

FYI, I pushed this as obvious.

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       |  4 ++++
 gdb/x86-linux-nat.c | 10 ----------
 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;
-};
-
-\f
-
 /* linux_nat_new_fork hook.   */
 
 static void
-- 
2.7.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-03 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-03 20:12 [pushed] x86-linux-nat: Remove unused arch_lwp_info structure Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).