aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-29 00:16:01 -0600
committerTom Tromey <tom@tromey.com>2018-05-29 08:52:56 -0600
commit10b2ded43caa3298cded1df8b620caaaee3f9209 (patch)
tree292788d8505a30b562fcd5029697840f9e1ca07a /gdb
parent4f7deebe0c56863f0c97edfe9ac9931dfdfc8f0a (diff)
downloadgdb-10b2ded43caa3298cded1df8b620caaaee3f9209.zip
gdb-10b2ded43caa3298cded1df8b620caaaee3f9209.tar.gz
gdb-10b2ded43caa3298cded1df8b620caaaee3f9209.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/record-btrace.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4a9ca2e..221aa2f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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.
* common/gdb_vecs.h (const_char_ptr): Remove typedef. Don't
declare VEC.
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c
index 4249b1d..0f01ace 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