diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2016-11-30 21:43:17 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2016-11-30 21:43:17 -0500 |
commit | 4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277 (patch) | |
tree | 04c93d13165e23605d6ba429eff04990fdc3f91f /gdb/ui-out.c | |
parent | 56df3084847984aeddd8c24ca997242ec8c5a369 (diff) | |
download | gdb-4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277.zip gdb-4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277.tar.gz gdb-4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277.tar.bz2 |
Use std::vector for mi_ui_out_data::streams
Use a standard vector instead of the home-made version. I used a vector
of plain pointers, because the mi_ui_out_data object doesn't own the
streams objects (i.e. they shouldn't be deleted when the vector is
deleted).
gdb/ChangeLog:
* mi/mi-out.c: Remove vec.h include.
(mi_ui_out_data) <streams>: Change type to std::vector.
(mi_field_string): Update.
(mi_field_fmt): Update.
(mi_flush): Update.
(mi_redirect): Update.
(field_separator): Update.
(mi_open): Update.
(mi_close): Update.
(mi_out_buffered): Update.
(mi_out_rewind): Update.
(mi_out_put): Update.
(mi_out_data_ctor): Update.
(mi_out_data_dtor): Don't free streams.
Diffstat (limited to 'gdb/ui-out.c')
0 files changed, 0 insertions, 0 deletions