Now that all instances of VEC(char_ptr) are gone, we can remove the
typedef. There is just one usage left, that is trivial to replace.
Tested by rebuilding on an enable-targets=all build.
gdb/ChangeLog:
* common/gdb_vecs.h (char_ptr): Remove.
* tracepoint.c (encode_actions_1): Remove usage of char_ptr.
+2018-04-01 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * common/gdb_vecs.h (char_ptr): Remove.
+ * tracepoint.c (encode_actions_1): Remove usage of char_ptr.
+
2018-03-30 Simon Marchi <simon.marchi@polymtl.ca>
* guile/scm-utils.c (gdbscm_parse_function_args): Replace VEC
#include "vec.h"
-typedef char *char_ptr;
typedef const char *const_char_ptr;
DEF_VEC_P (const_char_ptr);
case OP_VAR_VALUE:
{
struct symbol *sym = exp->elts[2].symbol;
- char_ptr name = (char_ptr) SYMBOL_NATURAL_NAME (sym);
+ const char *name = SYMBOL_NATURAL_NAME (sym);
collect->collect_symbol (exp->elts[2].symbol,
target_gdbarch (),