This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[FYI 2/2] Remove tp_t typedef


The tp_t typedef is no longer used and can be removed.

ChangeLog
2018-05-29  Tom Tromey  <tom@tromey.com>

	* record-btrace.c (tp_t): Remove typedef.  Don't declare VEC.
---
 gdb/ChangeLog       | 4 ++++
 gdb/record-btrace.c | 5 -----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c
index 4249b1da1f3..0f01aceb93c 100644
--- a/gdb/record-btrace.c
+++ b/gdb/record-btrace.c
@@ -2519,11 +2519,6 @@ record_btrace_step_thread (struct thread_info *tp)
   return status;
 }
 
-/* A vector of threads.  */
-
-typedef struct thread_info * tp_t;
-DEF_VEC_P (tp_t);
-
 /* Announce further events if necessary.  */
 
 static void
-- 
2.13.6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]