Browse Source

Change FIXME comment - should replace bubble sort by merge sort, not qsort.

gdb-4_18-branch
Per Bothner 30 years ago
parent
commit
b57d4d17d6
  1. 3
      gdb/buildsym.c

3
gdb/buildsym.c

@ -835,8 +835,7 @@ end_symtab (end_addr, objfile, section)
OBJF_REORDERED is true, then sort the pending blocks. */
if ((objfile->flags & OBJF_REORDERED) && pending_blocks)
{
/* FIXME! Remove this horrid bubble sort and use qsort!!!
It'd be a whole lot easier if they weren't in a linked list!!! */
/* FIXME! Remove this horrid bubble sort and use merge sort!!! */
int swapped;
do
{

Loading…
Cancel
Save