Replace some more qsort calls with std::sort
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c6e516daf120575febe7a222a7ab5d7d6b791e44..d8e3fe1a2dc0005ed35b5e1ecd26b03cfa83402b 100644 (file)
@@ -1,3 +1,33 @@
+2019-10-19  Christian Biesinger  <cbiesinger@google.com>
+
+       * bcache.c (bcache::print_statistics): Use std::sort instead of qsort.
+       * breakpoint.c (bp_locations_compare): Rename to...
+       (bp_location_is_less_than): ...this, and change to std::sort semantics.
+       (update_global_location_list): Use std::sort instead of qsort.
+       * buildsym.c (compare_line_numbers): Rename to...
+       (lte_is_less_than): ...this, and change to std::sort semantics.
+       (buildsym_compunit::end_symtab_with_blockvector): Use std::sort
+       instead of qsort.
+       * disasm.c (compare_lines): Rename to...
+       (line_is_less_than): ...this, and change to std::sort semantics.
+       (do_mixed_source_and_assembly_deprecated): Call std::sort instead
+       of qsort.
+       * dwarf2-frame.c (qsort_fde_cmp): Rename to...
+       (fde_is_less_than): ...this, and change to std::sort semantics.
+       (dwarf2_build_frame_info): Call std::sort instead of qsort.
+       * mdebugread.c (compare_blocks):
+       (block_is_less_than): ...this, and change to std::sort semantics.
+       (sort_blocks): Call std::sort instead of qsort.
+       * objfiles.c (qsort_cmp): Rename to...
+       (sort_cmp): ...this, and change to std::sort semantics.
+       (update_section_map): Call std::sort instead of qsort.
+       * remote.c (compare_pnums): Remove.
+       (map_regcache_remote_table): Call std::sort instead of qsort.
+       * utils.c (compare_positive_ints): Remove.
+       * utils.h (compare_positive_ints): Remove.
+       * xcoffread.c (compare_lte): Remove.
+       (arrange_linetable): Call std::sort instead of qsort.
+
 2019-10-19  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        * symfile.c (init_entry_point_info): Fix typo.
This page took 0.026099 seconds and 4 git commands to generate.