Replace VEC(converted_character_d) with std::vector
authorSimon Marchi <simon.marchi@ericsson.com>
Sun, 7 Jan 2018 15:48:21 +0000 (10:48 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Sun, 7 Jan 2018 15:48:21 +0000 (10:48 -0500)
commitb01ba14d4d5391e59fd0e1a3608fd47287edc008
treec2671aef2dc6efe6ab842a93b3d79fecfae1d3e8
parent4d0fdd9b357aff1fea3ef3def55d12464a41bf5b
Replace VEC(converted_character_d) with std::vector

This patch changes the usage of VEC(converted_character_d) to use an
std::vector instead.  This allows getting rid of a cleanup.

gdb/ChangeLog:

* valprint.c (converted_character_d): Remove typedef.
(DEF_VEC_O (converted_character_d)): Remove.
(count_next_character): Use std::vector.
(print_converted_chars_to_obstack): Likewise.
(generic_printstr): Likewise.
gdb/ChangeLog
gdb/valprint.c