Use std::string, std::vector in rust-lang.c
authorTom Tromey <tom@tromey.com>
Thu, 22 Sep 2016 15:51:20 +0000 (09:51 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 23 Sep 2016 17:37:08 +0000 (11:37 -0600)
commitab8b80a88546eacb6e75004e8dd571e6bdf9505f
tree70962428a5a8a5ef603e229c2e7d2bbc1fada4ba
parent05d49c372d4689f8ca8baf4fdd32529ac40f297a
Use std::string, std::vector in rust-lang.c

This patch changes some spots in rust-lang.c to use std::string or
std::vector, removing some cleanups.

2016-09-23  Tom Tromey  <tom@tromey.com>

* rust-lang.c: Include <string> and <vector>.
(rust_evaluate_funcall): Use std::vector, std::string.
(rust_evaluate_subexp): Use std::string.
(rust_lookup_symbol_nonlocal): Use std::string.
gdb/ChangeLog
gdb/rust-lang.c