Remove tp_t typedef
authorTom Tromey <tom@tromey.com>
Tue, 29 May 2018 06:16:01 +0000 (00:16 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 29 May 2018 14:52:56 +0000 (08:52 -0600)
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
gdb/record-btrace.c

index 4a9ca2e863500633836625d7fdd872447e1cb3e4..221aa2fd0c7001b9f41aa17bc54545ebd87b3571 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * record-btrace.c (tp_t): Remove typedef.  Don't declare VEC.
+
 2018-05-29  Tom Tromey  <tom@tromey.com>
 
        * objc-lang.h: Don't include cp-support.h.
index 4249b1da1f397ea62bac19316403e898286a8e21..0f01aceb93c7206fff1d7da353d3dc4b416fc360 100644 (file)
@@ -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