]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: update mdebugread.c to use blockvector::block_less_than
authorJan Vrany <jan.vrany@labware.com>
Thu, 23 Oct 2025 11:01:34 +0000 (12:01 +0100)
committerJan Vrany <jan.vrany@labware.com>
Thu, 23 Oct 2025 11:01:34 +0000 (12:01 +0100)
commite162de19f9b98279b48081eca88beb080a656b2f
treefb91f13f1b07e09e5f1079a5ab42e40cf310a243
parent45b3bfcc906830d4feed35dbd0e2203f1886ead7
gdb: update mdebugread.c to use blockvector::block_less_than

This commit updates mdebugread.c to use common blockvector ordering
predicate. It also changes the code to use std::stable_sort as in
buildsym.c. This is probably not necessary but should not hurt and makes
block sorting code more consistent.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/mdebugread.c