summaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-10-27 21:55:42 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2017-10-27 21:55:43 -0400
commit6a1b9516d824a4d364040887455ba910f955f065 (patch)
tree69c462972c53c376762e08cd71f46520cab7b52e /gdb/ChangeLog
parent593e3209f3e4e525030bc8768850f3876fd0b850 (diff)
downloadbinutils-gdb-6a1b9516d824a4d364040887455ba910f955f065.tar.gz
Get rid of VEC(loaded_script_ptr)
Direct replacement with std::vector. This allows removing a cleanup as well. Regtested on the buildbot. gdb/ChangeLog: * auto-load.c: Don't include gdb_vecs.h, include algorithm. (loaded_script_ptr): Remove typedef. (DEF_VEC_P (loaded_script_ptr)): Remove. (struct collect_matching_scripts_data): Add constructor. <scripts_p>: Change type to (pointer to) std::vector. (collect_matching_scripts_data): Adjust. (sort_scripts_by_name): Make suitable for std::sort. (print_scripts): Don't sort vector, adjust to std::vector. (auto_load_info_scripts): Sort vectors, adjust to std::vector.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5dea490d1b7..c1a3deeddc6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,15 @@
+2017-10-27 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * auto-load.c: Don't include gdb_vecs.h, include algorithm.
+ (loaded_script_ptr): Remove typedef.
+ (DEF_VEC_P (loaded_script_ptr)): Remove.
+ (struct collect_matching_scripts_data): Add constructor.
+ <scripts_p>: Change type to (pointer to) std::vector.
+ (collect_matching_scripts_data): Adjust.
+ (sort_scripts_by_name): Make suitable for std::sort.
+ (print_scripts): Don't sort vector, adjust to std::vector.
+ (auto_load_info_scripts): Sort vectors, adjust to std::vector.
+
2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
* symfile.c (filename_language): Make struct, not typedef. Add