Add delim_string_to_char_ptr_vec.
authorDoug Evans <dje@google.com>
Fri, 17 Jan 2014 18:23:29 +0000 (10:23 -0800)
committerDoug Evans <dje@google.com>
Fri, 17 Jan 2014 18:23:29 +0000 (10:23 -0800)
commit749234e5402bddc054d77b4113ecd09eda7a872e
tree34e289742a937a28e8854e849bdb58c6fc76a2ea
parentdf049a5831c7c573698b98bfd4bc0ec8dc854c1f
Add delim_string_to_char_ptr_vec.

* common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
function, contents of dirnames_to_char_ptr_vec_append moved here.
(delim_string_to_char_ptr_vec): New function.
(dirnames_to_char_ptr_vec_append): Rewrite.
* common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
gdb/ChangeLog
gdb/common/gdb_vecs.c
gdb/common/gdb_vecs.h