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.
This commit is contained in:
parent
a16ffec0da
commit
ec1f2d91e0
3 changed files with 6 additions and 2 deletions
|
@ -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 (),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue