diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-04-01 14:23:17 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-04-01 14:23:17 -0400 |
commit | ec1f2d91e07522a77cbef7a438e132ff4a2a7839 (patch) | |
tree | 7e502ea33618a8e60e6226349421bc129807c756 /gdb/tracepoint.c | |
parent | a16ffec0da37082ed80116a7afb1971eec9b8842 (diff) | |
download | binutils-gdb-ec1f2d91e07522a77cbef7a438e132ff4a2a7839.tar.gz |
Remove char_ptr typedef
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.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 954d039caf7..24bb91418a0 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -1382,7 +1382,7 @@ encode_actions_1 (struct command_line *action, 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 (), |